benches: add jwrapper to the bench bed
authorJean Privat <jean@pryen.org>
Fri, 29 Apr 2016 15:51:27 +0000 (11:51 -0400)
committerJean Privat <jean@pryen.org>
Fri, 29 Apr 2016 15:52:06 +0000 (11:52 -0400)
jwrapper uses nitcc and have different codebase and author

Signed-off-by: Jean Privat <jean@pryen.org>

benchmarks/bench_engines.sh

index 4a0a20e..505a6ac 100755 (executable)
@@ -73,6 +73,8 @@ function run_compiler()
                bench_command "puzzle" "puzzle 15-hard" "./puzzle.$title.bin" kleg.mondcafjhbi
                run_command "$@" "markdown/engines/nitmd/nitmd.nit" -o "nitmd.$title.bin"
                bench_command "nitmd" "markdown" "./nitmd.$title.bin" markdown/benches/out/mixed.md 80
+               run_command "$@" ../contrib/jwrapper/src/jwrapper.nit -o "jwrapper.$title.bin"
+               bench_command "jwrapper" "jwrapper ant.jar" "./jwrapper.$title.bin" /usr/share/java/ant.jar -o out/ant_jar.nit
        fi
 
        rm -r *.bin out 2> /dev/null
@@ -125,6 +127,7 @@ cp ../bin/nitc .
 if test -z "$fast"; then
        make -C markdown/benches
        make -C ../contrib/nitcc
+       make pre-build -C ../contrib/jwrapper
 fi
 
 ## EFFECTIVE BENCHS ##