aboutsummaryrefslogtreecommitdiff
path: root/test/json/json-speed-check.sh
diff options
context:
space:
mode:
authordrh <>2023-04-26 13:52:20 +0000
committerdrh <>2023-04-26 13:52:20 +0000
commitddc8b9ee0e3bccd6e488503750b31de5c672250d (patch)
treee63d4fa81e70d41d960ef024ae0c40bb34f5eb24 /test/json/json-speed-check.sh
parent02efa7be9610963288319eb0f79a1a128d24bd5f (diff)
downloadsqlite-ddc8b9ee0e3bccd6e488503750b31de5c672250d.tar.gz
sqlite-ddc8b9ee0e3bccd6e488503750b31de5c672250d.zip
Fix to the json-speed-check.sh script.
FossilOrigin-Name: d839c9544d7f28c1abc779eb2d40f95c1a9386984656fbd29d19b1e7830171bc
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