aboutsummaryrefslogtreecommitdiff
path: root/src/larson.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/larson.py')
-rw-r--r--src/larson.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/larson.py b/src/larson.py
index 6d15d46..736f00a 100644
--- a/src/larson.py
+++ b/src/larson.py
@@ -1,4 +1,3 @@
-import multiprocessing
import re
from src.benchmark import Benchmark
@@ -19,7 +18,7 @@ class Benchmark_Larson(Benchmark):
self.args = {
"maxsize": [8, 32, 64, 128, 256, 512, 1024],
- "threads": range(1, multiprocessing.cpu_count() * 2 + 1)
+ "threads": Benchmark.scale_threads_for_cpus(2)
}
self.requirements = ["larson"]