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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

PyPy: JIT progress, 50% faster baseline than CPython

35 点作者 empone将近 16 年前

4 条评论

silentbicycle将近 16 年前
...in long-running loops. I wonder how large the start-up costs are, though? Granted, non-long-running loops are by definition <i>not running for long</i>, so it's ok if they're a bit less efficient, but 2x faster in hotpots is still different from 2x faster overall.<p>FWIW, LuaJIT runs everything 2-4x faster for me, and more so with long-running loops. Lua's semantics are simpler, though, so it's easier to determine which optimizations are applicable when. (The only downsides for LuaJIT are that it's only for i386, and that it uses about a third more space.)
amix将近 16 年前
50% faster on a long running for loop is not the same as 50% faster baseline from CPython... At least from my knowledge PyPy's RPython is not faster than CPython.
jnoller将近 16 年前
50% faster... on selected benchmarks. Run pypy through the unladen-swallow performance benchmarks (very real-world tests) and get some more accurate numbers.
vegai将近 16 年前
Why do people always benchmark JVM-ported languages to be lot faster than the main version, but in actual production use they turn out to be much slower?