aboutsummaryrefslogtreecommitdiff
path: root/test/json/json-speed-check.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/json/json-speed-check.sh')
-rwxr-xr-xtest/json/json-speed-check.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/json/json-speed-check.sh b/test/json/json-speed-check.sh
index 01147c18b..343f830bd 100755
--- a/test/json/json-speed-check.sh
+++ b/test/json/json-speed-check.sh
@@ -68,7 +68,8 @@ echo "CC_OPTS = $CC_OPTS" | tee -a summary-$NAME.txt
rm -f cachegrind.out.* jsonshell
$CC -g -Os -Wall -I. $CC_OPTS ./shell.c ./sqlite3.c -o jsonshell -ldl -lpthread
ls -l jsonshell | tee -a summary-$NAME.txt
-home=/home/drh/sqlite/json-perf
+home=`echo $0 | sed -e 's,/[^/]*$,,'`
+echo ./jsonshell $home/json100mb.db "<$home/json-q1.txt"
valgrind --tool=cachegrind ./jsonshell $home/json100mb.db <$home/json-q1.txt \
2>&1 | tee -a summary-$NAME.txt
cg_anno.tcl cachegrind.out.* >jout-$NAME.txt