nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
benchs/markdown: add a root Makefile
[nit.git]
/
benchmarks
/
bench_engines.sh
diff --git
a/benchmarks/bench_engines.sh
b/benchmarks/bench_engines.sh
index
3bdce85
..
62d6a9c
100755
(executable)
--- a/
benchmarks/bench_engines.sh
+++ b/
benchmarks/bench_engines.sh
@@
-186,10
+186,10
@@
function bench_nitc_options()
run_compiler "nitc-$name" ./nitc $common
if test "$1" = NOALL; then
run_compiler "nitc-$name" ./nitc $common
if test "$1" = NOALL; then
+ withall=
shift
shift
- elif test -n "$2"; then
- prepare_res "$name-all.dat" "all" "nitc-g with all options $@"
- run_compiler "nitc-$name" ./nitc $common $@
+ else
+ withall=true
fi
for opt in "$@"; do
fi
for opt in "$@"; do
@@
-198,6
+198,11
@@
function bench_nitc_options()
run_compiler "nitc-$name" ./nitc $common $opt
done
run_compiler "nitc-$name" ./nitc $common $opt
done
+ if test -n "$2" -a -n "$withall"; then
+ prepare_res "$name-all.dat" "all" "nitc-g with all options $@"
+ run_compiler "nitc-$name" ./nitc $common $@
+ fi
+
plot "$name.gnu"
}
plot "$name.gnu"
}