Python 3.12 vs. Python 3.13 – performance testing

(en.lewoniewski.info)

40 points | by tosh 8 months ago ago

14 comments

  • serjester 8 months 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.

  • ComputerGuru 8 months 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

  • pama 8 months 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.

  • VeejayRampay 8 months 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

  • 8 months ago
    [deleted]
  • belter 8 months ago

    [flagged]

    • 8 months ago
      [deleted]
  • throw0101d 8 months 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.
    • mywittyname 8 months 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.

    • cb321 8 months 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".

    • baggy_trough 8 months ago

      It is literally 1.04x faster.