3 ms·
Would be interesting to compare with GraalPython
by SemanticStrengh 4y ago
Would be interesting to compare with GraalPython
- kmod 4y agoGraalPython only supports a relatively-small subset of the Python language, making it impossible to collect numbers on realistic benchmarks
- azinman2 4y agoWill that change? I thought the promise of graal is to massively speed up languages like Python and Ruby.
- SemanticStrengh 4y agoGraalJS has ~99% support of the JS language features, as for GraalPython it's unclear to me what's missing but it should get feature parity in the next few years. It already support modern python versions so that's a good sign.
- freediver 4y agoDid that python-speed v1.3 using python v3.8.5 string/mem: 3032.69 ms pi calc/math: 6652.63 ms regex: 2442.87 ms fibonnaci/stack: 382.66 ms multiprocess: 11573.28 ms total: 24084.13 ms (lower is better) Compare to results in the first comment in this post. Graal looks much slower except for stack manipulation.
- SemanticStrengh 4y agoThanks a lot, hmm kinda disappointing, except for fibonnaci/stack. Was it in native (binary) of JIT form ? Also GraalVM EE has additional optimizations. (I'm assuming you used GraalVM 2022.1 edition) Anyway thanks for sharing :)
- freediver 4y agoUsed the latest -dev binary available from their github releases. pypy does much better: python-speed v1.3 using python v3.9.12 string/mem: 2397.79 ms pi calc/math: 2317.79 ms regex: 1767.99 ms fibonnaci/stack: 109.36 ms multiprocess: 640.2 ms total: 7233.14 ms (lower is better)