summaryrefslogtreecommitdiffstats
path: root/vendor/jsonpath_lib/profiling.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/jsonpath_lib/profiling.sh')
-rwxr-xr-xvendor/jsonpath_lib/profiling.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/vendor/jsonpath_lib/profiling.sh b/vendor/jsonpath_lib/profiling.sh
new file mode 100755
index 000000000..c262a73d2
--- /dev/null
+++ b/vendor/jsonpath_lib/profiling.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+set -e
+
+valgrind \
+ --tool=callgrind \
+ --dump-instr=yes \
+ --collect-jumps=yes \
+ --simulate-cache=yes $1 -- $2 \ No newline at end of file