From e3530b170edb309c6df3f7a99b8d40916ece9ad1 Mon Sep 17 00:00:00 2001 From: Alexandre Terrasa Date: Wed, 26 Mar 2014 17:31:39 -0400 Subject: [PATCH] benches: add benches about nullables things Signed-off-by: Alexandre Terrasa --- benchmarks/bench_engines.sh | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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" -- 1.7.9.5