From 0e467466b1171f162948e9aaa369c6117d915e05 Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Mon, 9 Mar 2020 19:14:54 +0100 Subject: improve matplotlib code add new helper functions to get all y_values for a plot use seperate figures for each plot s/filepostfix/file_postfix/ to be consistent --- src/benchmarks/httpd.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/benchmarks/httpd.py') diff --git a/src/benchmarks/httpd.py b/src/benchmarks/httpd.py index 2138834..8332f27 100644 --- a/src/benchmarks/httpd.py +++ b/src/benchmarks/httpd.py @@ -65,7 +65,7 @@ class BenchmarkHTTPD(Benchmark): xlabel="threads", ylabel="requests/s", autoticks=False, - filepostfix="requests", + file_postfix="requests", title="{perm.site}: requests/s") plt.plot_fixed_arg(self, @@ -73,7 +73,7 @@ class BenchmarkHTTPD(Benchmark): xlabel="threads", ylabel="VmHWM in KB", title="{perm.site}: nginx memory usage", - filepostfix="httpd_vmhwm", + file_postfix="httpd_vmhwm", autoticks=False) plt.plot_fixed_arg(self, @@ -81,7 +81,7 @@ class BenchmarkHTTPD(Benchmark): xlabel="threads", ylabel="VmHWM in KB", title="{perm.site}: php-fpm memory usage", - filepostfix="php-fpm_vmhwm", + file_postfix="php-fpm_vmhwm", autoticks=False) -- cgit v1.2.3