From eb6e4da3c06c68aa3415104649ef633f24c7ce85 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Sun, 23 Aug 2015 13:02:27 +0200 Subject: Tweak results tables to be clearer --- benchmark.css | 18 +++++++++++------- obbench | 5 +++-- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/benchmark.css b/benchmark.css index 6cd34d5..4e35607 100644 --- a/benchmark.css +++ b/benchmark.css @@ -1,23 +1,27 @@ table { - border: solid 1px; + border: 0; } th { border-bottom: solid 1px; } th, td { - border-right: solid 1px; font-family: monospace; + text-align: left; + vertical-align: top; + padding-right: 2em; +} +td { + padding-bottom: 1em; } th.duration, td.duration { - text-align: right; + width: 15em; } td.date { - width: 25em; +// min-width: 30em; } td.commitid { - width: 7em; +// width: 7em; } td.commitmsg { - width: 30em; - text-align: left; +// max-width: 30em; } diff --git a/obbench b/obbench index 1576a4e..5463c86 100755 --- a/obbench +++ b/obbench @@ -234,7 +234,7 @@ class ObnamBenchmarker(cliapp.Application): for step in obj['steps']: if 'obnam' in step: f.write( - '{action} secs (% of ref)\n'.format( + '{action} seconds
(% of goal)\n'.format( action=self.q(step['obnam']))) f.write('\n') @@ -303,7 +303,8 @@ class ObnamBenchmarker(cliapp.Application): f.write('commit\n') f.write('commit msg\n') for name in benchmark_names: - f.write('{name} secs (% of ref)\n'.format(name=self.q(name))) + f.write('{name} (seconds)' + '
(% of goal)\n'.format(name=self.q(name))) f.write('\n') for run in runs: -- cgit v1.2.1