From: Alexandre Terrasa Date: Wed, 26 Mar 2014 21:31:39 +0000 (-0400) Subject: benches: add benches about nullables things X-Git-Tag: v0.6.6~95^2 X-Git-Url: http://nitlanguage.org benches: add benches about nullables things Signed-off-by: Alexandre Terrasa --- diff --git a/benchmarks/bench_engines.sh b/benchmarks/bench_engines.sh index 89dc5ae..4168579 100755 --- a/benchmarks/bench_engines.sh +++ b/benchmarks/bench_engines.sh @@ -349,6 +349,22 @@ function bench_policy() } bench_policy +function bench_nullables() +{ + name="$FUNCNAME" + skip_test "$name" && return + prepare_res "$name-nitc.dat" "nitc" "nitc no options" + run_compiler "nitc" ./nitg --separate + prepare_res "$name-nitc-ni.dat" "nitc-ni" "nitc --no-check-attr-isset" + run_compiler "nitc" ./nitg --separate --no-check-attr-isset + prepare_res "$name-nitc-nu.dat" "nitc-nu" "nitc --no-union-attribute" + run_compiler "nitc" ./nitg --separate --no-union-attribute + prepare_res "$name-nitc-nu-ni.dat" "nitc-nu-ni" "nitc --no-union-attribute --no-check-attr-isset" + run_compiler "nitc" ./nitg --separate --no-union-attribute --no-check-attr-isset + plot "$name.gnu" +} +bench_nullables + function bench_compilation_time { name="$FUNCNAME"