nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
benchmarks/markdown: generate an html file
[nit.git]
/
benchmarks
/
markdown
/
bench_markdown.sh
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
engdir="./engines"
bncdir="./benches/out"
mkdir -p $outdir
+html="index.html"
+echo >"$html" "<html><head></head><body>"
function bench_nitmd()
{
function bench_nitmd()
{
@@
-135,6
+137,8
@@
if test "$#" -gt 0; then
plot $outdir/bench_markdown.gnu
fi
plot $outdir/bench_markdown.gnu
fi
+echo >>"$html" "</body></html>"
+
if test -n "$died"; then
echo "Some commands failed"
exit 1
if test -n "$died"; then
echo "Some commands failed"
exit 1