TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Tornado twice as fast with PyPy 1.7 compared to Python 2.7

85 pointsby peterbeover 13 years ago

4 comments

peterhuntover 13 years ago
I <i>love</i> PyPy, but it kind of sucks watching everyone get excited about the CPU performance of a web server while forgetting about this:<p>"Pypy used about three times as much memory in both cases, but usage was stable over time (i.e. it's not "leaking" like pypy 1.6 did)."<p>For a front-end web server, I'd trade CPU perf for memory any day of the week.
评论 #3293181 未加载
评论 #3293305 未加载
评论 #3293080 未加载
评论 #3293500 未加载
评论 #3293114 未加载
abecedariusover 13 years ago
While I've also seen it to be about twice as fast in my own testing (not with Tornado), it also had much longer GC pause times. (No stats, just watching my program's logs go by -- very noticeable stutters every couple seconds or so.)
评论 #3293096 未加载
peterbeover 13 years ago
And memory stable!<p>And three times faster on template rendering!
评论 #3292669 未加载
ecdavisover 13 years ago
It's interesting that the first run on both the PyPy tests was significantly slower than all subsequent runs. I guess PyPy needs to do a bit of work before it's properly warmed up.
评论 #3293064 未加载