+function bench_nitg-s_options()
+{
+ tag=$1
+ shift
+ name="$FUNCNAME-$tag"
+ skip_test "$name" && return
+ prepare_res "$name.dat" "no options" "nitg-s without options"
+ run_compiler "nitg-s" ./nitg --separate
+
+ if test -n "$2"; then
+ prepare_res "$name-all.dat" "all" "nitg-s with all options $@"
+ run_compiler "nitg-s-$tag" ./nitg --separate $@
+ fi
+
+ for opt in "$@"; do
+ prepare_res "$name$opt.dat" "$opt" "nitg-s with option $opt"
+ run_compiler "nitg-s$opt" ./nitg --separate $opt
+ done
+
+ plot "$name.gnu"
+}
+bench_nitg-s_options "slower" --hardening --no-inline-intern --generic-resolution-tree
+bench_nitg-s_options "nocheck" --no-check-covariance --no-check-initialization --no-check-assert --no-check-autocast --no-check-other
+bench_nitg-s_options "faster" --inline-coloring-numbers
+bench_nitg-s_options "typing" --bm-typing --phmod-typing --phand-typing
+