Description
Hi folks. I would like to reproduce the results from this article about execution performance: https://www.graalvm.org/latest/reference-manual/python/Performance/#execution-performance
I have a fork of the The Python Performance Benchmark Suite: https://github.com/croqaz/py-bench which allows me to run most of the benchmarks without additional dependencies and running tests one by one, eg:
python bench/pystone.py
# 100000
Obviously, pystone.py is a silly example, there are serious tests in there. I also tried some private code.
When I compared the results of CPython 3.11, 3.12 or 3.13 with GraalPy 24.1.2 from the releases of this repo, GraalPy is roughly 5 times slower, which is similar to what the article above says.
I would like to run the JIT compilation, so I can benefit from the 4x speedups in the article, but I just don't know what flags to enable in the graalpy executable. Does it even work with the standalone executable ? or I need to run it within a JAVA app ? I would really like to run it standalone.
Thank you very much!
Activity