nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be2d84d
)
bench/json: output html
author
Jean Privat
<jean@pryen.org>
Wed, 27 Apr 2016 15:36:04 +0000
(11:36 -0400)
committer
Jean Privat
<jean@pryen.org>
Wed, 27 Apr 2016 15:36:04 +0000
(11:36 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
benchmarks/json/bench_json.sh
patch
|
blob
|
history
diff --git
a/benchmarks/json/bench_json.sh
b/benchmarks/json/bench_json.sh
index
1e00026
..
748353c
100755
(executable)
--- a/
benchmarks/json/bench_json.sh
+++ b/
benchmarks/json/bench_json.sh
@@
-84,6
+84,8
@@
done
init_repo
mkdir -p out
+html="index.html"
+echo >"$html" "<html><head></head><body>"
echo "Compiling engines"
@@
-126,3
+128,11
@@
rm scripts/nit_adhoc_utf_noropes
rm scripts/nit_adhoc_utf_ropes
plot out/bench_json.gnu
+
+echo >>"$html" "</body></html>"
+
+if test -n "$died"; then
+ echo "Some commands failed"
+ exit 1
+fi
+exit 0