diff options
| author | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-20 12:19:44 +0100 |
|---|---|---|
| committer | Florian Fischer <florian.fl.fischer@fau.de> | 2020-02-20 12:19:44 +0100 |
| commit | 9c9dd922379312fe744307a71ad1b8715098e18b (patch) | |
| tree | 22feb63adec67c93bbe1e3283dee8510a627896f /src/benchmarks/fd.py | |
| parent | 42f029418a28e98788c95098837dfb45ea2bfffc (diff) | |
| parent | 40860ce5b8134618dad6457049d533aa211b0139 (diff) | |
| download | allocbench-9c9dd922379312fe744307a71ad1b8715098e18b.tar.gz allocbench-9c9dd922379312fe744307a71ad1b8715098e18b.zip | |
Merge branch 'pgfplots'
Diffstat (limited to 'src/benchmarks/fd.py')
| -rw-r--r-- | src/benchmarks/fd.py | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/src/benchmarks/fd.py b/src/benchmarks/fd.py index 4fab958..0d5657d 100644 --- a/src/benchmarks/fd.py +++ b/src/benchmarks/fd.py @@ -22,6 +22,7 @@ from urllib.request import urlretrieve from src.artifact import ArchiveArtifact, GitArtifact from src.benchmark import Benchmark +import src.plots as plt from src.util import print_info @@ -66,19 +67,21 @@ class BenchmarkFd(Benchmark): os.link(src, dest) def summary(self): - self.barplot_single_arg("{task-clock}", - ylabel='"runtime in ms"', - title='"fd runtime"', - filepostfix="runtime") + plt.barplot_single_arg(self, + "{task-clock}", + ylabel="runtime in ms", + title="fd runtime", + filepostfix="runtime") - self.export_stats_to_dataref("task-clock") + plt.export_stats_to_dataref(self, "task-clock") - self.barplot_single_arg("{VmHWM}", - ylabel='"VmHWM in KB"', - title='"fd memusage"', - filepostfix="memusage") + plt.barplot_single_arg(self, + "{VmHWM}", + ylabel="VmHWM in KB", + title="fd memusage", + filepostfix="memusage") - self.export_stats_to_dataref("VmHWM") + plt.export_stats_to_dataref(self, "VmHWM") fd = BenchmarkFd() |
