TurboGears silly performance test
After working some weeks on TurboGears, a doubt arose: how good is TG performance? After I had heard some scary stories about Plone serving no more than 1 page/second, I began to worry.
I know, I know, early optimization is bad, and TG is meant for systems, not for fast static serving, but I had to know. And the results were not so bad, given that TG runs a Python internal web server.
The server was a Thinkpad T41 notebook, not the fastest machine in the world.
The numbers:
Static page served by Apache, thttp or lighttpd: 690 reqs/s
Static PHP page served by Apache: 394 reqs/s
TG, welcome.kid template w/ development configuration (with logs etc.): 70 reqs/s
TG w/ sample "production" config: 73 reqs/s (not much gain here)
TG production serving truly static content (e.g. static/css): 207 req/s
So the conclusion is, a correctly configured TG runs about 9 times slower than Apache, and 5 times slower than PHP. For me it seems to be a very good result, since TG web server is coded in Python.


1 Comentários:
[url=http://p1v.org/north-carolina-mortgage-loan.html]north carolina mortgage loan[/url] [url=http://p1v.org/north-carolina-mortgage-home-loan.html]north carolina mortgage home loan[/url] [url=http://p1v.org/north-carolina-mortgage.html]north carolina mortgage[/url] [url=http://p1v.org/new-york-mortgage-loan.html]new york mortgage loan[/url] [url=http://p1v.org/new-york-home-mortgage.html]new york home mortgage[/url] [url=http://p1v.org/nevada-mortgage.html]nevada mortgage[/url] [url=http://p1v.org/nd-mortgage-loan.html]nd mortgage loan[/url] [url=http://p1v.org/nd-mortgage.html]nd mortgage[/url] [url=http://p1v.org/national-city-mortgage.html]national city mortgage[/url] [url=http://p1v.org/mortgage-uk.html]mortgage uk[/url] [url=http://p1v.org/mortgage-refinancing.html]mortgage refinancing[/url] [url=http://p1v.org/mortgage-refinance-second.html]mortgage refinance second[/url]
north carolina mortgage loan north carolina mortgage home loan north carolina mortgage new york mortgage loan new york home mortgage nevada mortgage nd mortgage loan nd mortgage national city mortgage mortgage uk mortgage refinancing mortgage refinance second
http://p1v.org/north-carolina-mortgage-loan.html http://p1v.org/north-carolina-mortgage-home-loan.html http://p1v.org/north-carolina-mortgage.html http://p1v.org/new-york-mortgage-loan.html http://p1v.org/new-york-home-mortgage.html http://p1v.org/nevada-mortgage.html http://p1v.org/nd-mortgage-loan.html http://p1v.org/nd-mortgage.html http://p1v.org/national-city-mortgage.html http://p1v.org/mortgage-uk.html http://p1v.org/mortgage-refinancing.html http://p1v.org/mortgage-refinance-second.html
Postar um comentário
<< Início