diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2011-05-08 13:05:12 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2011-05-08 13:05:12 -0700 |
commit | f74534b42ac9ac8b0ff496cb0da83f1201bbf8da (patch) | |
tree | cf20bb7160a6f37cecd5c2cb4222c03b88e4fcde /perf-tests.sh | |
parent | 4a99abba123fc1d2bef62778846a1f27b2012de0 (diff) |
Decoder redesign in preparation for packed fields and start/endseq.
Diffstat (limited to 'perf-tests.sh')
-rwxr-xr-x | perf-tests.sh | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/perf-tests.sh b/perf-tests.sh index 8630182..118922d 100755 --- a/perf-tests.sh +++ b/perf-tests.sh @@ -16,20 +16,16 @@ run_with_flags () { NAME=$2 make clean - echo "$FLAGS -fprofile-generate" > perf-cppflags - make upb_benchmarks - make benchmark - - make clean_leave_profile - echo "$FLAGS -fprofile-use" > perf-cppflags + echo "$FLAGS" > perf-cppflags make upb_benchmarks make benchmark | sed -e "s/^/$NAME./g" | tee -a perf-tests.out } -if [ x`uname -m` = xx86_64 ]; then +#if [ x`uname -m` = xx86_64 ]; then run_with_flags "-DNDEBUG -m32" "plain32" run_with_flags "-DNDEBUG -fomit-frame-pointer -m32" "omitfp32" -fi +#fi run_with_flags "-DNDEBUG " "plain" run_with_flags "-DNDEBUG -fomit-frame-pointer" "omitfp" +run_with_flags "-DNDEBUG -DUPB_USE_JIT_X64" "jit" |