From cb8ea84001fde7aaba8370430f7ab3432b5fd829 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 14 May 2017 16:22:03 +0300 Subject: 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. --- obbench | 2 ++ 1 file changed, 2 insertions(+) (limited to 'obbench') 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): -- cgit v1.2.1