[pypy-dev] hexiom2 benchmark
Armin Rigo
arigo at tunes.org
Wed May 1 11:16:40 CEST 2013
Hi Michael,
On Wed, May 1, 2013 at 3:54 AM, Michael Hudson-Doyle <micahel at gmail.com> wrote:
> File "/home/mwhudson/src/benchmarks/unladen_swallow/perf.py", line 170, in
> TScore
> return (avg(sample1) - avg(sample2)) / math.sqrt(error * 2)
> ZeroDivisionError: float division by zero
The code could be more robust indeed :-( It's because hexiom2 runs
only once in --fast mode, so it ends up with error == exactly 0.0.
Fixed in f7abffc04667.
A bientôt,
Armin.
More information about the pypy-dev
mailing list