diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2019-03-25 17:49:39 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2019-03-25 17:49:39 +0100 |
| commit | 25c4d81069f576354d0279bf38417c236e924540 (patch) | |
| tree | e5b953bc96220f07c86bf01ac0f900751b08543e /src | |
| parent | 5c4ee34ec788ab0a59fe10c125452323d4b67d98 (diff) | |
| download | allocbench-25c4d81069f576354d0279bf38417c236e924540.tar.gz allocbench-25c4d81069f576354d0279bf38417c236e924540.zip | |
move benchmark definitions into src/benchmarks
bench now loads all *.py files from src/benchmarks as benchmarks
Diffstat (limited to 'src')
| -rw-r--r-- | src/benchmarks/__init__.py | 0 | ||||
| -rw-r--r-- | src/benchmarks/dj_trace.py (renamed from src/dj_trace.py) | 0 | ||||
| -rw-r--r-- | src/benchmarks/falsesharing.py (renamed from src/falsesharing.py) | 0 | ||||
| -rw-r--r-- | src/benchmarks/larson.py (renamed from src/larson.py) | 0 | ||||
| -rw-r--r-- | src/benchmarks/loop.py (renamed from src/loop.py) | 4 | ||||
| -rw-r--r-- | src/benchmarks/mysql.py (renamed from src/mysql.py) | 0 |
6 files changed, 2 insertions, 2 deletions
diff --git a/src/benchmarks/__init__.py b/src/benchmarks/__init__.py new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/src/benchmarks/__init__.py diff --git a/src/dj_trace.py b/src/benchmarks/dj_trace.py index 062f34c..062f34c 100644 --- a/src/dj_trace.py +++ b/src/benchmarks/dj_trace.py diff --git a/src/falsesharing.py b/src/benchmarks/falsesharing.py index f6375a6..f6375a6 100644 --- a/src/falsesharing.py +++ b/src/benchmarks/falsesharing.py diff --git a/src/larson.py b/src/benchmarks/larson.py index e070b7b..e070b7b 100644 --- a/src/larson.py +++ b/src/benchmarks/larson.py diff --git a/src/loop.py b/src/benchmarks/loop.py index a8459da..4683549 100644 --- a/src/loop.py +++ b/src/benchmarks/loop.py @@ -17,7 +17,7 @@ class Benchmark_Loop(Benchmark): def summary(self): # Speed - self.plot_fixed_arg("perm.nthreads / (float({task-clock})/1000)", + self.plot_fixed_arg("perm.nthreads / ({task-clock}/1000)", ylabel='"MOPS/cpu-second"', title='"Loop: " + arg + " " + str(arg_value)', filepostfix="time") @@ -29,7 +29,7 @@ class Benchmark_Loop(Benchmark): filepostfix="l1misses") # Speed Matrix - self.write_best_doublearg_tex_table("perm.nthreads / (float({task-clock})/1000)", + self.write_best_doublearg_tex_table("perm.nthreads / ({task-clock}/1000)", filepostfix="memusage.matrix") diff --git a/src/mysql.py b/src/benchmarks/mysql.py index e3f1f0f..e3f1f0f 100644 --- a/src/mysql.py +++ b/src/benchmarks/mysql.py |
