aboutsummaryrefslogtreecommitdiff
path: root/tests/runner.py
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2011-12-06 13:45:33 -0800
committerAlon Zakai <alonzakai@gmail.com>2011-12-06 13:45:33 -0800
commit4518cc29290315cb528d260a7ca2c0427bb1579d (patch)
tree3201197d21eb42a9abce5a171d914c8e0fc2cdd8 /tests/runner.py
parentbea3d23dc5316222d31127299ea1896223075ac4 (diff)
two small fixes, for benchmarks and memory growth
Diffstat (limited to 'tests/runner.py')
-rw-r--r--tests/runner.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/runner.py b/tests/runner.py
index aa1d5922..a34d1eb2 100644
--- a/tests/runner.py
+++ b/tests/runner.py
@@ -4886,6 +4886,8 @@ else:
class benchmark(RunnerCore):
def setUp(self):
+ super(benchmark, self).setUp()
+
Settings.RELOOP = Settings.MICRO_OPTS = 1
Settings.USE_TYPED_ARRAYS = 1
Settings.QUANTUM_SIZE = 1
@@ -4903,8 +4905,6 @@ else:
Building.LLVM_OPTS = 1 if Settings.USE_TYPED_ARRAYS != 2 else 2
Building.pick_llvm_opts(2, safe=Building.LLVM_OPTS != 2)
- super(benchmark, self).setUp()
-
def print_stats(self, times, native_times, last=False):
mean = sum(times)/len(times)
squared_times = map(lambda x: x*x, times)