benchmarks/markdown: generate an html file
authorJean Privat <jean@pryen.org>
Tue, 15 Sep 2015 20:16:14 +0000 (16:16 -0400)
committerJean Privat <jean@pryen.org>
Tue, 15 Sep 2015 23:55:53 +0000 (19:55 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

benchmarks/markdown/bench_markdown.sh

index c22e0b5..485b944 100755 (executable)
@@ -70,6 +70,8 @@ outdir="./out"
 engdir="./engines"
 bncdir="./benches/out"
 mkdir -p $outdir
+html="index.html"
+echo >"$html" "<html><head></head><body>"
 
 function bench_nitmd()
 {
@@ -135,6 +137,8 @@ if test "$#" -gt 0; then
     plot $outdir/bench_markdown.gnu
 fi
 
+echo >>"$html" "</body></html>"
+
 if test -n "$died"; then
        echo "Some commands failed"
        exit 1