[pypy-commit] pypy stm-thread: Tweak: it seems that 9 gives better results than both 7 or 11 (the
arigo
noreply at buildbot.pypy.org
Thu Jun 7 18:59:25 CEST 2012
Author: Armin Rigo <arigo at tunes.org>
Branch: stm-thread
Changeset: r55475:1e8fe0bdddc8
Date: 2012-06-07 18:59 +0200
http://bitbucket.org/pypy/pypy/changeset/1e8fe0bdddc8/
Log: Tweak: it seems that 9 gives better results than both 7 or 11 (the
default).
diff --git a/pypy/config/pypyoption.py b/pypy/config/pypyoption.py
--- a/pypy/config/pypyoption.py
+++ b/pypy/config/pypyoption.py
@@ -404,6 +404,10 @@
config.objspace.std.suggest(withcelldict=True)
config.objspace.std.suggest(withmapdict=True)
+ # tweaks some parameters with STM
+ if config.translation.stm:
+ config.objspace.std.suggest(methodcachesizeexp=9)
+
def enable_allworkingmodules(config):
if config.translation.type_system == 'ootype':
More information about the pypy-commit
mailing list