summaryrefslogtreecommitdiff
path: root/perf-tests.sh
diff options
context:
space:
mode:
authorJosh Haberman <jhaberman@gmail.com>2014-12-09 15:02:58 -0800
committerJosh Haberman <jhaberman@gmail.com>2014-12-09 15:02:58 -0800
commit82be433d4188e0b3b992e463ad52ee148d3ad8de (patch)
tree9eb0f3c941114c52e97f4e908acbd5b4bc68c4d3 /perf-tests.sh
parentbf51ef86b448138a281e796df5bdfa8fa118524d (diff)
Decoder bugfix, .gitignore update, and delete obsolete files.
Diffstat (limited to 'perf-tests.sh')
-rwxr-xr-xperf-tests.sh32
1 files changed, 0 insertions, 32 deletions
diff --git a/perf-tests.sh b/perf-tests.sh
deleted file mode 100755
index e3427f6..0000000
--- a/perf-tests.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-# Builds and runs all available benchmarks. The tree will be built
-# multiple times with a few different compiler flag combinations.
-# The output will be dumped to stdout and to perf-tests.out.
-
-set -e
-MAKETARGET=benchmarks
-if [ x$1 = xupb ]; then
- MAKETARGET=upb_benchmarks
-fi
-
-rm -f perf-tests.out
-
-run_with_flags () {
- FLAGS=$1
- NAME=$2
-
- make clean
- echo "$FLAGS" > perf-cppflags
- make upb_benchmarks
- make upb_benchmark | sed -e "s/^/$NAME./g" | tee -a perf-tests.out
-}
-
-#if [ x`uname -m` = xx86_64 ]; then
- run_with_flags "-DNDEBUG -m32" "plain32"
- run_with_flags "-DNDEBUG -fomit-frame-pointer -m32" "omitfp32"
-#fi
-
-# 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