aboutsummaryrefslogtreecommitdiff
path: root/flatcc/test/benchmark/benchall.sh
diff options
context:
space:
mode:
Diffstat (limited to 'flatcc/test/benchmark/benchall.sh')
-rwxr-xr-xflatcc/test/benchmark/benchall.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/flatcc/test/benchmark/benchall.sh b/flatcc/test/benchmark/benchall.sh
new file mode 100755
index 0000000..87d6983
--- /dev/null
+++ b/flatcc/test/benchmark/benchall.sh
@@ -0,0 +1,16 @@
+#!/usr/bin/env bash
+
+set -e
+
+cd `dirname $0`
+
+echo "running all benchmarks (raw, flatc C++, flatcc C)"
+
+echo "building and benchmarking raw structs"
+benchraw/run.sh
+echo "building and benchmarking flatc generated C++"
+benchflatc/run.sh
+echo "building and benchmarking flatcc generated C"
+benchflatcc/run.sh
+echo "building and benchmarking flatcc json generated C"
+benchflatccjson/run.sh