summaryrefslogtreecommitdiff
path: root/perf-tests.sh
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-08-17 08:15:57 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-08-17 08:15:57 -0700
commitfa82e4fbf065bb474b0f87023f66edffb8a5b850 (patch)
treee515ba7d9a431a05b08468619b8289d7bc9b1527 /perf-tests.sh
parent51d4e295a4d8e55facf0e95502cde75d488fd511 (diff)
Benchmark JIT vs no JIT without forcing a whole-project recompile.
Diffstat (limited to 'perf-tests.sh')
-rwxr-xr-xperf-tests.sh7
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"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback