summaryrefslogtreecommitdiff
path: root/obbench
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-05-14 16:22:03 +0300
committerLars Wirzenius <liw@liw.fi>2017-05-14 18:21:05 +0300
commitcb8ea84001fde7aaba8370430f7ab3432b5fd829 (patch)
tree169d88a37235d444d6283e1cc26d52aecfc7f48c /obbench
parent44ec80785fbffbe0855b9f0a4d890becac470826 (diff)
downloadobnam-benchmarks-cb8ea84001fde7aaba8370430f7ab3432b5fd829.tar.gz
Add a collect phase to collect non-large data from results
This avoids having to keep all the huge files in memory all at once.
Diffstat (limited to 'obbench')
-rwxr-xr-xobbench2
1 files changed, 2 insertions, 0 deletions
diff --git a/obbench b/obbench
index 95132b7..2c203c5 100755
--- a/obbench
+++ b/obbench
@@ -53,7 +53,9 @@ class ObnamBenchmarker(cliapp.Application):
statedir = self.create_state_directory()
self.clone_or_update_git(statedir, spec)
self.run_benchmarks(statedir, spec, args[1:])
+ self.dump_memory_profile('before producing HTML')
self.produce_html(statedir, spec)
+ self.dump_memory_profile('after producing HTML')
self.publish(statedir)
def read_benchmark_spec(self, filename):