On Fri, 2007-02-16 at 17:15 -0600, Ian Bicking wrote: > Cliff Wells wrote: > > I was doing some rather simplistic benchmarks between Pylons and > > TurboGears (not only simplistic, but unfair since they are two different > > sites) and was a bit surprised to see that the TurboGears site handily > > outperformed the Pylons site. The sites are dissimilar so it isn't a > > true benchmark, but frankly the TurboGears page I was benchmarking was > > actually larger and more complex than the Pylons page. I'll probably do > > some better tests later, but my initial suspicion is that the default > > "paster serve" isn't as fast as CherryPy (both are proxyied to via > > Nginx). > > In my simplistic tests CherryPy 3 is about 50% faster than > paste.httpserver. That's keeping everything else equivalent, and not > including any framework. I don't know how other factors would effect that.
So I suddenly remembered to check my database indices and sure enough, I'd added some queries and not added indexes for those queries. Once I'd gone through and fixed this the Pylons site slightly outperforms the TG site (still not a valid benchmark since they are different sites, but at least having them in the same ballpark is reassuring). Just a reminder to check the basics first. Regards, Cliff --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en -~----------~----~----~----~------~----~------~--~---
