[pypy-issue] [issue1274] continue inside of other frame blocks causes JIT not to be invoked
Alex Gaynor
tracker at bugs.pypy.org
Mon Oct 1 01:03:04 CEST 2012
New submission from Alex Gaynor <alex.gaynor at gmail.com>:
Alexs-MacBook-Pro-2:tmp alex_gaynor$ PYPYLOG=jit-summary:- pypy -S t.py
Alexs-MacBook-Pro-2:tmp alex_gaynor$ time python t.py
real 0m1.519s
user 0m1.505s
sys 0m0.011s
Alexs-MacBook-Pro-2:tmp alex_gaynor$ time pypy t.py
real 0m2.839s
user 0m2.815s
sys 0m0.020s
Alexs-MacBook-Pro-2:tmp alex_gaynor$ cat t.py
def f(n):
for i in xrange(n):
try:
continue
finally:
pass
f(25000000)
----------
messages: 4793
nosy: agaynor, pypy-issue
priority: performance bug
status: unread
title: continue inside of other frame blocks causes JIT not to be invoked
________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue1274>
________________________________________
More information about the pypy-issue
mailing list