Is there any way in pypy to get a output like when you run python -m cProfile myscript.py
?
pypy -m cProfile myscript.py
is showing some random numbers (some of them negative), apparently this is a bug from 2011 not fixed yet.
Is there any way in pypy to get a output like when you run python -m cProfile myscript.py
?
pypy -m cProfile myscript.py
is showing some random numbers (some of them negative), apparently this is a bug from 2011 not fixed yet.
Copyright © 2021 Jogjafile Inc.
The issue has been fixed in release 2.5.0. cProfile is only going to get you so far, make sure your hot spots are run enough to warm up the JIT and then do benchmarking (timeit like statistics) rather than cProfile since the sampling method used in cProfile can itself slow things down.