[pypy-commit] benchmarks multithread-runner: fix and adapt parameters for a specific machine

Raemi pypy.commits at gmail.com
Mon Jun 20 07:04:52 EDT 2016


Author: Remi Meier <remi.meier at gmail.com>
Branch: multithread-runner
Changeset: r361:a6c5a631b030
Date: 2016-05-28 10:19 +0200
http://bitbucket.org/pypy/benchmarks/changeset/a6c5a631b030/

Log:	fix and adapt parameters for a specific machine

diff --git a/multithread/config-all-short.json b/multithread/config-all-short.json
--- a/multithread/config-all-short.json
+++ b/multithread/config-all-short.json
@@ -13,7 +13,7 @@
         "nqueens": {
             "file": "nqueens/nqueens.py",
             "PYTHONPATH": "..",
-            "args": ["10"]
+            "args": ["9"]
         },
 
         "parsible-bench": {
@@ -36,7 +36,7 @@
         "mandelbrot": {
             "file": "mandelbrot/mandelbrot.py",
             "PYTHONPATH": "..",
-            "args": ["64", "128", "512"]
+            "args": ["64", "384", "512"]
         },
 
         "btree": {
diff --git a/multithread/nqueens/nqueens.py b/multithread/nqueens/nqueens.py
--- a/multithread/nqueens/nqueens.py
+++ b/multithread/nqueens/nqueens.py
@@ -40,7 +40,7 @@
     solutions = []
     fs = []
     cols = range(n)
-    for perms in chunks(permutations(cols), 100000):
+    for perms in chunks(permutations(cols), 10000):
         fs.append(Future(check_solutions, n, cols, perms))
     print "Futures:", len(fs)
     for f in fs:
diff --git a/multithread/skiplist/skiplist.py b/multithread/skiplist/skiplist.py
--- a/multithread/skiplist/skiplist.py
+++ b/multithread/skiplist/skiplist.py
@@ -3,7 +3,7 @@
 
 from common.abstract_threading import (atomic, Future,
                                        set_thread_pool, ThreadPool,
-                                       hint_commit_soon)
+                                       hint_commit_soon, turn_jitting_off)
 import time, threading
 
 import random


More information about the pypy-commit mailing list