From fa82e4fbf065bb474b0f87023f66edffb8a5b850 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 17 Aug 2011 08:15:57 -0700 Subject: Benchmark JIT vs no JIT without forcing a whole-project recompile. --- perf-tests.sh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'perf-tests.sh') diff --git a/perf-tests.sh b/perf-tests.sh index 118922d..7bdbee0 100755 --- a/perf-tests.sh +++ b/perf-tests.sh @@ -26,6 +26,7 @@ run_with_flags () { run_with_flags "-DNDEBUG -fomit-frame-pointer -m32" "omitfp32" #fi -run_with_flags "-DNDEBUG " "plain" -run_with_flags "-DNDEBUG -fomit-frame-pointer" "omitfp" -run_with_flags "-DNDEBUG -DUPB_USE_JIT_X64" "jit" +# Ideally we could test for x86-64 in deciding whether to compile with +# the JIT flag. +run_with_flags "-DNDEBUG -DUPB_USE_JIT_X64" "plain" +run_with_flags "-DNDEBUG -fomit-frame-pointer -DUPB_USE_JIT_X64" "omitfp" -- cgit v1.2.3