benchs: add pep8analisis bench program
authorJean Privat <jean@pryen.org>
Wed, 5 Jun 2013 03:15:59 +0000 (23:15 -0400)
committerJean Privat <jean@pryen.org>
Mon, 15 Jul 2013 18:21:25 +0000 (14:21 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

benchmarks/bench_engines.sh

index ef0a709..5ec8a00 100755 (executable)
@@ -25,6 +25,8 @@ source ./bench_plot.sh
 # Can be overrided with 'the option -n'
 count=2
 
+pep8analysis=../../pep8analysis
+
 ### HELPER FUNCTIONS ##
 
 function die()
@@ -128,6 +130,8 @@ function run_compiler()
                bench_command "shoot" "shoot_logic 30" "./shoot.$title.bin" 30
                run_command "$@" ../tests/bench_bintree_gen.nit -o "bintrees.$title.bin"
                bench_command "bintrees" "bench_bintree_gen 18" "./bintrees.$title.bin" 18
+               run_command "$@" "$pep8analysis/src/pep8analysis.nit" -I "$pep8analysis/lib" -o "pep8a.$title.bin"
+               bench_command "pep8analisis" "bench_bintree_gen 18" "./pep8a.$title.bin" "$pep8analysis/tests/privat/"*.pep
        fi
 }