diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-03-09 19:14:54 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-03-09 19:14:54 +0100 |
| commit | 0e467466b1171f162948e9aaa369c6117d915e05 (patch) | |
| tree | 9037afdb2813a104c0d60cc49f572418215786c0 /src/benchmarks/httpd.py | |
| parent | 19362370c09dd4ac945ed7cfff07d91f0db95353 (diff) | |
| download | allocbench-0e467466b1171f162948e9aaa369c6117d915e05.tar.gz allocbench-0e467466b1171f162948e9aaa369c6117d915e05.zip | |
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
Diffstat (limited to 'src/benchmarks/httpd.py')
| -rw-r--r-- | src/benchmarks/httpd.py | 6 |
1 files changed, 3 insertions, 3 deletions
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) |
