summaryrefslogtreecommitdiff
path: root/report.sh
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2022-01-05 13:37:07 +0200
committerLars Wirzenius <liw@liw.fi>2022-01-05 17:27:45 +0200
commit3a635e26d57573828163cafcc5240fa8c670203d (patch)
treee2e6421be7d0fd3bed0e5251e7a72e988ff992c8 /report.sh
parentb6c4e5e0301158ac821e876aa0255168ed4043dc (diff)
downloadobnam-benchmark-3a635e26d57573828163cafcc5240fa8c670203d.tar.gz
feat: add report generation
Sponsored-by: author
Diffstat (limited to 'report.sh')
-rwxr-xr-xreport.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/report.sh b/report.sh
new file mode 100755
index 0000000..4c426db
--- /dev/null
+++ b/report.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+set -euo pipefail
+
+obnam-benchmark report "$@" |
+ pandoc -f markdown+pipe_tables -t html -H obnam-benchmark.css \
+ --metadata title="Obnam benchmarks" - -o /dev/stdout