summaryrefslogtreecommitdiffstats
path: root/vendor/jsonpath_lib/profiling.sh
blob: c262a73d26b5821add0ecf1f81892975d075d59e (plain)
1
2
3
4
5
6
7
8
9
#!/usr/bin/env bash

set -e

valgrind \
    --tool=callgrind \
    --dump-instr=yes \
    --collect-jumps=yes \
    --simulate-cache=yes $1 -- $2