Victor Stinner <victor.stinner <at> haypocalc.com> writes: > > I tried to do benchmark on all these patches using pystone or pybench, but the > results are inaccurate. Pystone results change with +/- 20% with the same > code on different runs. I tried more loops (pystone 250000), but it doesn't > change anything. Pybench is better it is also inaccurate to benchmark > operations on integers. > > That's I started to write a *basic* benchmark tool to compare the different > patches: see file bench_int.py of the issue #4294. If you want to benchmark arithmetic on large integers, you may try out the pidigits test from the Computer Language Shootout : http://shootout.alioth.debian.org/u64/benchmark.php?test=pidigits&lang=python&id=1 cheers Antoine.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4