aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fl.fischer@fau.de>2020-06-29 12:53:42 +0200
committerFlorian Fischer <florian.fl.fischer@fau.de>2020-06-29 12:56:37 +0200
commit41438eea7b5292a87946a91199ca05e41205db9d (patch)
tree1215bfb3c815a3dce783279a787d551b02372422
parentb43a0ef93a85cff039a8674bb32c55312734cb05 (diff)
downloadallocbench-41438eea7b5292a87946a91199ca05e41205db9d.tar.gz
allocbench-41438eea7b5292a87946a91199ca05e41205db9d.zip
fix cfrac, espresso and lld plots
-rw-r--r--allocbench/benchmarks/cfrac.py4
-rw-r--r--allocbench/benchmarks/espresso.py4
-rw-r--r--allocbench/benchmarks/lld.py6
3 files changed, 7 insertions, 7 deletions
diff --git a/allocbench/benchmarks/cfrac.py b/allocbench/benchmarks/cfrac.py
index 08e3583..f1a4408 100644
--- a/allocbench/benchmarks/cfrac.py
+++ b/allocbench/benchmarks/cfrac.py
@@ -89,10 +89,10 @@ class BenchmarkCfrac(Benchmark):
plt.plot(self,
"({L1-dcache-load-misses}/{L1-dcache-loads})*100",
plot_type='bar',
+ plot_options={'yerr': False},
fig_options={
'ylabel': "L1 misses in %",
- 'title': "Cfrac l1 cache misses",
- 'yerr': False
+ 'title': "Cfrac l1 cache misses"
},
file_postfix="l1misses")
diff --git a/allocbench/benchmarks/espresso.py b/allocbench/benchmarks/espresso.py
index cbe23f2..1367bb2 100644
--- a/allocbench/benchmarks/espresso.py
+++ b/allocbench/benchmarks/espresso.py
@@ -90,10 +90,10 @@ class BenchmarkEspresso(Benchmark):
plt.plot(self,
"({L1-dcache-load-misses}/{L1-dcache-loads})*100",
plot_type='bar',
+ plot_options={'yerr': False},
fig_options={
'ylabel': "L1 misses in %",
- 'title': "Espresso l1 cache misses",
- 'yerr': False
+ 'title': "Espresso l1 cache misses"
},
file_postfix="l1misses")
diff --git a/allocbench/benchmarks/lld.py b/allocbench/benchmarks/lld.py
index a813d1c..f1797dc 100644
--- a/allocbench/benchmarks/lld.py
+++ b/allocbench/benchmarks/lld.py
@@ -276,7 +276,7 @@ class BenchmarkLld(Benchmark):
label=allocator,
color=allocators[allocator]["color"])
- plt.legend(loc="best")
+ plt.legend(loc="lower center")
plt.ylabel("time in ms")
plt.title(f"Runtime {perm.test}")
plt.savefig(f"{self.name}.{perm.test}.runtime.{SUMMARY_FILE_EXT}")
@@ -284,7 +284,7 @@ class BenchmarkLld(Benchmark):
for i, allocator in enumerate(allocators):
plt.bar([i],
- allocbench.plots.get_y_data(self, "{VmHWH}", allocator,
+ allocbench.plots.get_y_data(self, "{VmHWM}", allocator,
perm),
yerr=allocbench.plots.get_y_data(self,
"{VmHWM}",
@@ -294,7 +294,7 @@ class BenchmarkLld(Benchmark):
label=allocator,
color=allocators[allocator]["color"])
- plt.legend(loc="best")
+ plt.legend(loc="lower center")
plt.ylabel("Max RSS in MB")
plt.title(f"Max RSS {perm.test}")
plt.savefig(f"{self.name}.{perm.test}.rss.{SUMMARY_FILE_EXT}")