diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-08-17 08:15:57 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-08-17 08:15:57 -0700 |
commit | fa82e4fbf065bb474b0f87023f66edffb8a5b850 (patch) | |
tree | e515ba7d9a431a05b08468619b8289d7bc9b1527 /perf-tests.sh | |
parent | 51d4e295a4d8e55facf0e95502cde75d488fd511 (diff) |
Benchmark JIT vs no JIT without forcing a whole-project recompile.
Diffstat (limited to 'perf-tests.sh')
-rwxr-xr-x | perf-tests.sh | 7 |
1 files changed, 4 insertions, 3 deletions
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" |