Brian Kearns <[email protected]> added the comment:
Took a look at this again. We do better, but still 'break down' on the HUGE
case.
$ python2.7 bench.py
Test case: EMPTY
loops per run 308000
Best performances: 3.25 usec/loop
Test case: SIMPLE
loops per run 184000
Best performances: 5.49 usec/loop
Test case: NESTED
loops per run 98000
Best performances: 10.25 usec/loop
Test case: HUGE
loops per run 1000
Best performances: 2873.16 usec/loop
$ ../../pypy/pypy-c bench.py
Test case: EMPTY
loops per run 1451320
Best performances: 0.03 usec/loop
Test case: SIMPLE
loops per run 156740
Best performances: 2.20 usec/loop
Test case: NESTED
loops per run 93110
Best performances: 10.18 usec/loop
Test case: HUGE
loops per run 180
Best performances: 57414.41 usec/loop
----------
nosy: +bdk
________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue868>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-issue