Python 3.12 vs. Python 3.13 – performance testing
37 points
by tosh
1 day ago
| 5 comments
| en.lewoniewski.info
| HN
serjester
1 day ago
[-]
Not much to talk about - asyncio is 20% faster and everything else is basically the same. Props to the op for doing the benchmark though. Surprising re is 4% slower - I was under the impression python just wraps the c bindings.
reply
ComputerGuru
1 day ago
[-]
Site is exceeding its traffic allotment. I had to try a few times but I was able to snag a copy for the archives.

https://archive.is/FBDVL

reply
pama
1 day ago
[-]
It appears that the site is now popular—I’m getting:

Resource Limit Is Reached

The website is temporarily unable to service your request as it exceeded resource limit. Please try again later.

reply
ComputerGuru
1 day ago
[-]
reply
xyst
1 day ago
[-]
Hn hugged after only 6 pts.
reply
VeejayRampay
1 day ago
[-]
so basically performance doesn't really go up or down, it's the same

that's good news since 3.13 is merely planting the seeds for further improvements, can't wait for 3.14 and 3.15

reply
BerislavLopac
17 hours ago
[-]
Hopefully there will be no 3.15: https://peps.python.org/pep-2026/
reply
throw0101d
1 day ago
[-]
The "x" numbers are not quite correct, e.g.:

    2to3 226 ms 217 ms (1.04x faster)
It is not "1.04x" faster, which would mean 104%, or twice as fast / half the time. It is 4% faster.
reply
mywittyname
1 day ago
[-]
1.04x faster means 4% faster. It's the difference represented as a ratio of the new and original value. 226 / 217 = 1.04

2x would be twice as fast. For example, I used to drink 4 cups of coffee a day, now I drink 8 cups. You could say I 8 / 4 = 2x(ed) my coffee intake.

A "10x" developer is one who develops at 10 times the pace of a single normal developer.

reply
cb321
1 day ago
[-]
Language is, of course, an agreed upon convention, but everyone I know who says "2x faster" has seemed to mean "takes half the time". The "x" here is intended to be short for "multiplication" to indicate a time ratio, not short for "extra".
reply
baggy_trough
1 day ago
[-]
It is literally 1.04x faster.
reply