Skip to content

Commit e3a52d3

Browse files
committed
fix typo
1 parent c912ef0 commit e3a52d3

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

benchmark/benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
import benchmark_helper
77
import pickle
88

9-
bench = benchmark_helper.BenchmarkEnv()
9+
bench = benchmark_helper.BenchmarkEnv(repetitions=11)
1010
tests = ["test_1.py", "test_2.py"]
1111
resutls = {}
1212

benchmark/benchmark_helper.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,14 @@
66

77

88
class BenchmarkEnv():
9-
def __init__(self, repetitons=10):
9+
def __init__(self, repetitions=10):
1010
self.env = os.environ.copy()
1111
self.env["SCOREP_ENABLE_PROFILING"] = "false"
1212
self.env["SCOREP_ENABLE_TRACING"] = "true"
1313
self.env["SCOREP_PROFILING_MAX_CALLPATH_DEPTH"] = "98"
1414
self.env["SCOREP_TOTAL_MEMORY"] = "3G"
1515
self.exp_dir = "benchmark_dir"
16-
self.repetitons = repetitons
16+
self.repetitions = repetitions
1717

1818
shutil.rmtree(
1919
self.exp_dir,
@@ -40,7 +40,7 @@ def call(self, script="", ops=[], scorep_settings=[]):
4040
arguments.extend(ops)
4141

4242
runtimes = []
43-
for i in range(self.repetitons):
43+
for i in range(self.repetitions):
4444
begin = time.time()
4545
out = subprocess.run(
4646
arguments,

0 commit comments

Comments
 (0)