Author: Armin Rigo <[email protected]>
Branch: jit-counter
Changeset: r67735:f6296263d647
Date: 2013-10-30 14:55 +0100
http://bitbucket.org/pypy/pypy/changeset/f6296263d647/

Log:    Add a jit parameter.

diff --git a/rpython/rlib/jit.py b/rpython/rlib/jit.py
--- a/rpython/rlib/jit.py
+++ b/rpython/rlib/jit.py
@@ -442,6 +442,7 @@
     'threshold': 'number of times a loop has to run for it to become hot',
     'function_threshold': 'number of times a function must run for it to 
become traced from start',
     'trace_eagerness': 'number of times a guard has to fail before we start 
compiling a bridge',
+    'decay': 'decay counters at each minor collection: percentage kept',
     'trace_limit': 'number of recorded operations before we abort tracing with 
ABORT_TOO_LONG',
     'inlining': 'inline python functions or not (1/0)',
     'loop_longevity': 'a parameter controlling how long loops will be kept 
before being freed, an estimate',
@@ -455,6 +456,7 @@
 PARAMETERS = {'threshold': 1039, # just above 1024, prime
               'function_threshold': 1619, # slightly more than one above, also 
prime
               'trace_eagerness': 200,
+              'decay': 90,
               'trace_limit': 6000,
               'inlining': 1,
               'loop_longevity': 1000,
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to