[pypy-commit] pypy default: speed up jitted lsprof on builtin calls significantly

fijal noreply at buildbot.pypy.org
Sat Apr 14 18:37:58 CEST 2012


Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: 
Changeset: r54365:822d774c2560
Date: 2012-04-14 18:23 +0200
http://bitbucket.org/pypy/pypy/changeset/822d774c2560/

Log:	speed up jitted lsprof on builtin calls significantly

diff --git a/pypy/module/_lsprof/interp_lsprof.py b/pypy/module/_lsprof/interp_lsprof.py
--- a/pypy/module/_lsprof/interp_lsprof.py
+++ b/pypy/module/_lsprof/interp_lsprof.py
@@ -185,6 +185,7 @@
             if subentry is not None:
                 subentry._stop(tt, it)
 
+ at jit.elidable_promote()
 def create_spec(space, w_arg):
     if isinstance(w_arg, Method):
         w_function = w_arg.w_function


More information about the pypy-commit mailing list