[pypy-commit] pypy fix-trace-jit: Bump the trace limit when enable a sys.settrace()
alex_gaynor
noreply at buildbot.pypy.org
Wed Oct 30 23:05:18 CET 2013
Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: fix-trace-jit
Changeset: r67751:6a295fa19a43
Date: 2013-10-30 15:04 -0700
http://bitbucket.org/pypy/pypy/changeset/6a295fa19a43/
Log: Bump the trace limit when enable a sys.settrace()
diff --git a/pypy/interpreter/executioncontext.py b/pypy/interpreter/executioncontext.py
--- a/pypy/interpreter/executioncontext.py
+++ b/pypy/interpreter/executioncontext.py
@@ -224,6 +224,7 @@
else:
self.force_all_frames()
self.w_tracefunc = w_func
+ jit.set_param(None, 'trace_limit', 10000)
def gettrace(self):
return jit.promote(self.w_tracefunc)
diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py
--- a/rpython/rlib/jit.py
+++ b/rpython/rlib/jit.py
@@ -455,7 +455,7 @@
PARAMETERS = {'threshold': 1039, # just above 1024, prime
'function_threshold': 1619, # slightly more than one above, also prime
'trace_eagerness': 200,
- 'trace_limit': 8000,
+ 'trace_limit': 6000,
'inlining': 1,
'loop_longevity': 1000,
'retrace_limit': 5,
More information about the pypy-commit
mailing list