diff options
-rw-r--r-- | benchmark.css | 18 | ||||
-rwxr-xr-x | 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; } @@ -234,7 +234,7 @@ class ObnamBenchmarker(cliapp.Application): for step in obj['steps']: if 'obnam' in step: f.write( - '<th>{action} secs (% of ref)</th>\n'.format( + '<th>{action} seconds<br/>(% of goal)</th>\n'.format( action=self.q(step['obnam']))) f.write('</tr>\n') @@ -303,7 +303,8 @@ class ObnamBenchmarker(cliapp.Application): f.write('<th>commit</th>\n') f.write('<th>commit msg</th>\n') for name in benchmark_names: - f.write('<th>{name} secs (% of ref)</th>\n'.format(name=self.q(name))) + f.write('<th>{name} (seconds)' + '<br/>(% of goal)</th>\n'.format(name=self.q(name))) f.write('</tr>\n') for run in runs: |