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.

Python 3 vs. Java

21 pointsby tvvocoldabout 10 years ago

4 comments

BoardsOfCanadaabout 10 years ago
This is compared to the standard (CPython) implementation. PyPy is about 7 times faster, often uses less memory and generally optimizes pythonic code better, so would improve all three metrics. <a href="http:&#x2F;&#x2F;speed.pypy.org&#x2F;" rel="nofollow">http:&#x2F;&#x2F;speed.pypy.org&#x2F;</a>
评论 #9324905 未加载
pikerabout 10 years ago
I love Python, and was eager to read some great measurements for 3.4, but I am having trouble comprehending this chart. I read the chart:<p>Python 3 used what fraction? used how many times more?<p>Time-used |- |--- 25% median 75% ---| -| (Elapsed secs)<p>± ± 5× 27× 51× 77× 77×<p>to indicate that even the 25th percentile Python application required 5 times the amount of time to complete as its Java counterpart. It seems that only the pidigits implementation required less time to complete. How does that lead to the conclusion that Python is -approximately- faster?<p>Edit: fixed chart.
评论 #9323282 未加载
jszymborskiabout 10 years ago
I always wish these benchmarks had a &quot;Conclusion&quot; or &quot;Discussion&quot; section...
评论 #9323361 未加载
评论 #9322502 未加载
aceperryabout 10 years ago
I would be very interested to see performance with networking types of code. That would be of great interest to this audience.
评论 #9324373 未加载