TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Tornado twice as fast with PyPy 1.7 compared to Python 2.7

85 点作者 peterbe超过 13 年前

4 条评论

peterhunt超过 13 年前
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 未加载
abecedarius超过 13 年前
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 未加载
peterbe超过 13 年前
And memory stable!<p>And three times faster on template rendering!
评论 #3292669 未加载
ecdavis超过 13 年前
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 未加载