Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(104)

Side by Side Diff: third_party/sqlite/src/tool/run-speed-test.sh

Issue 1610963002: Import SQLite 3.10.2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/sqlite/src/tool/replace.tcl ('k') | third_party/sqlite/src/tool/showdb.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash 1 #!/bin/bash
2 # 2 #
3 # This is a template for a script used for day-to-day size and 3 # This is a template for a script used for day-to-day size and
4 # performance monitoring of SQLite. Typical usage: 4 # performance monitoring of SQLite. Typical usage:
5 # 5 #
6 # sh run-speed-test.sh trunk # Baseline measurement of trunk 6 # sh run-speed-test.sh trunk # Baseline measurement of trunk
7 # sh run-speed-test.sh x1 # Measure some experimental change 7 # sh run-speed-test.sh x1 # Measure some experimental change
8 # fossil test-diff --tk cout-trunk.txt cout-x1.txt # View chanages 8 # fossil test-diff --tk cout-trunk.txt cout-x1.txt # View chanages
9 # 9 #
10 # There are multiple output files, all with a base name given by 10 # There are multiple output files, all with a base name given by
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 ./shell.c ./sqlite3.c -o sqlite3 -ldl -lpthread 59 ./shell.c ./sqlite3.c -o sqlite3 -ldl -lpthread
60 SRC=./speedtest1.c 60 SRC=./speedtest1.c
61 gcc -g -Os -Wall -I. $CC_OPTS $SRC ./sqlite3.o -o speedtest1 -ldl -lpthread 61 gcc -g -Os -Wall -I. $CC_OPTS $SRC ./sqlite3.o -o speedtest1 -ldl -lpthread
62 ls -l speedtest1 | tee -a summary-$NAME.txt 62 ls -l speedtest1 | tee -a summary-$NAME.txt
63 valgrind --tool=cachegrind ./speedtest1 speedtest1.db \ 63 valgrind --tool=cachegrind ./speedtest1 speedtest1.db \
64 $SPEEDTEST_OPTS 2>&1 | tee -a summary-$NAME.txt 64 $SPEEDTEST_OPTS 2>&1 | tee -a summary-$NAME.txt
65 size sqlite3.o | tee -a summary-$NAME.txt 65 size sqlite3.o | tee -a summary-$NAME.txt
66 wc sqlite3.c 66 wc sqlite3.c
67 cg_anno.tcl cachegrind.out.* >cout-$NAME.txt 67 cg_anno.tcl cachegrind.out.* >cout-$NAME.txt
68 ./speedtest1 --explain $SPEEDTEST_OPTS | ./sqlite3 >explain-$NAME.txt 68 ./speedtest1 --explain $SPEEDTEST_OPTS | ./sqlite3 >explain-$NAME.txt
OLDNEW
« no previous file with comments | « third_party/sqlite/src/tool/replace.tcl ('k') | third_party/sqlite/src/tool/showdb.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698