From e6b4c6fdb11234468af08eef059397a67ba1eae9 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Tue, 7 Apr 2020 16:35:30 +0200 Subject: fix syntax after plot changes --- src/benchmarks/dj_trace.py | 2 +- src/benchmarks/espresso.py | 2 +- src/benchmarks/falsesharing.py | 3 +-- src/benchmarks/httpd.py | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/benchmarks/dj_trace.py b/src/benchmarks/dj_trace.py index 1b1c65e..22398e6 100644 --- a/src/benchmarks/dj_trace.py +++ b/src/benchmarks/dj_trace.py @@ -244,7 +244,7 @@ class BenchmarkDJTrace(Benchmark): fig_options={ 'ylabel': "Max RSS in MB", 'title': "Max RSS (VmHWM)", - } + }, file_postfix="newrss") # self.barplot_fixed_arg("{Max_RSS}/1000", diff --git a/src/benchmarks/espresso.py b/src/benchmarks/espresso.py index b0b9c09..4671822 100644 --- a/src/benchmarks/espresso.py +++ b/src/benchmarks/espresso.py @@ -105,7 +105,7 @@ class BenchmarkEspresso(Benchmark): fig_options={ 'ylabel': "VmHWM in KB", 'title': "Espresso VmHWM", - } + }, file_postfix="vmhwm") plt.write_tex_table(self, [{ diff --git a/src/benchmarks/falsesharing.py b/src/benchmarks/falsesharing.py index 6735aa4..1e9fc34 100644 --- a/src/benchmarks/falsesharing.py +++ b/src/benchmarks/falsesharing.py @@ -90,7 +90,7 @@ class BenchmarkFalsesharing(Benchmark): plt.plot(self, "{l1chache_misses}", - x_args=["bench"] + x_args=["bench"], fig_options={ 'ylabel': "l1 cache misses in %", 'title': "cache misses: {arg} {arg_value}", @@ -123,5 +123,4 @@ class BenchmarkFalsesharing(Benchmark): plt.pgfplot_legend(self) - falsesharing = BenchmarkFalsesharing() diff --git a/src/benchmarks/httpd.py b/src/benchmarks/httpd.py index c46461f..18a9bf6 100644 --- a/src/benchmarks/httpd.py +++ b/src/benchmarks/httpd.py @@ -65,7 +65,7 @@ class BenchmarkHTTPD(Benchmark): fig_options={ 'xlabel': "threads", 'ylabel': "requests/s", - 'title': "{perm.site}: requests/s" + 'title': "{perm.site}: requests/s", 'autoticks': False, }, file_postfix="requests") -- cgit v1.2.3