Python 3.12 vs. Python 3.13 – performance testing

(en.lewoniewski.info)

37 points | by tosh a day ago ago

14 comments

  • serjester a 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.

  • ComputerGuru a 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

  • pama a 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.

  • VeejayRampay a 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

  • a day ago
    [deleted]
  • belter a day ago

    [flagged]

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

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

    • baggy_trough a day ago

      It is literally 1.04x faster.