Commits

Armin Rigo committed ff892c9

Retry to tweak these numbers

  • Participants
  • Parent commits 9fcd505
  • Branches jit-counter

Comments (0)

Files changed (1)

File rpython/jit/metainterp/counter.py

 
 
 class JitCounter:
-    DEFAULT_SIZE = 8192
+    DEFAULT_SIZE = 4096
 
     def __init__(self, size=DEFAULT_SIZE, translator=None):
         "NOT_RPYTHON"
                 step = 0
             glob = Glob()
             def invoke_after_minor_collection():
-                # After 64 minor collections, we call decay_all_counters().
+                # After 32 minor collections, we call decay_all_counters().
                 # The "--jit decay=N" option measures the amount the
                 # counters are then reduced by.
                 glob.step += 1
-                if glob.step == 64:
+                if glob.step == 32:
                     glob.step = 0
                     self.decay_all_counters()
             if not hasattr(translator, '_jit2gc'):