summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2015-08-23 13:02:27 +0200
committerLars Wirzenius <liw@liw.fi>2015-08-23 13:02:27 +0200
commiteb6e4da3c06c68aa3415104649ef633f24c7ce85 (patch)
treee457c8f174fa520bf7458554aa7a3f3e6320d82b
parent2d24b1602a94e12857d2d66457745d94bb80e0da (diff)
downloadobnam-benchmarks-eb6e4da3c06c68aa3415104649ef633f24c7ce85.tar.gz
Tweak results tables to be clearer
-rw-r--r--benchmark.css18
-rwxr-xr-xobbench5
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(
- '<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: