nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d603e5
)
benchmarks/markdown: generate an html file
author
Jean Privat
<jean@pryen.org>
Tue, 15 Sep 2015 20:16:14 +0000
(16:16 -0400)
committer
Jean 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
patch
|
blob
|
history
diff --git
a/benchmarks/markdown/bench_markdown.sh
b/benchmarks/markdown/bench_markdown.sh
index
c22e0b5
..
485b944
100755
(executable)
--- a/
benchmarks/markdown/bench_markdown.sh
+++ b/
benchmarks/markdown/bench_markdown.sh
@@
-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