aboutsummaryrefslogtreecommitdiff
path: root/src/benchmarks/larson.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/benchmarks/larson.py')
-rw-r--r--src/benchmarks/larson.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/benchmarks/larson.py b/src/benchmarks/larson.py
index e070b7b..910fdf6 100644
--- a/src/benchmarks/larson.py
+++ b/src/benchmarks/larson.py
@@ -2,7 +2,7 @@ import re
from src.benchmark import Benchmark
-throughput_re = re.compile("^Throughput =\s*(?P<throughput>\d+) operations per second.$")
+throughput_re = re.compile("^Throughput =\\s*(?P<throughput>\\d+) operations per second.$")
class Benchmark_Larson(Benchmark):
@@ -43,4 +43,5 @@ class Benchmark_Larson(Benchmark):
title="'Larson cache misses: ' + arg + ' ' + str(arg_value)",
filepostfix="cachemisses")
+
larson = Benchmark_Larson()