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

Side by Side Diff: third_party/sqlite/src/test/time-wordcount.sh

Issue 2751253002: [sql] Import SQLite 3.17.0. (Closed)
Patch Set: also clang on Linux i386 Created 3 years, 9 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
OLDNEW
(Empty)
1 #!/bin/sh
2 #
3 # This script runs the wordcount program in different ways and generates
4 # an output useful for performance comparisons.
5 #
6
7 # Select the source text to be analyzed.
8 #
9 if test "x$1" = "x";
10 then echo "Usage: $0 FILENAME [ARGS...]"; exit 1;
11 fi
12
13 # Do test runs
14 #
15 rm -f wcdb1.db
16 ./wordcount --tag A: --timer --summary wcdb1.db $* --insert
17 rm -f wcdb2.db
18 ./wordcount --tag B: --timer --summary wcdb2.db $* --insert --without-rowid
19 rm -f wcdb1.db
20 ./wordcount --tag C: --timer --summary wcdb1.db $* --replace
21 rm -f wcdb2.db
22 ./wordcount --tag D: --timer --summary wcdb2.db $* --replace --without-rowid
23 rm -f wcdb1.db
24 ./wordcount --tag E: --timer --summary wcdb1.db $* --select
25 rm -f wcdb2.db
26 ./wordcount --tag F: --timer --summary wcdb2.db $* --select --without-rowid
27 ./wordcount --tag G: --timer --summary wcdb1.db $* --query
28 ./wordcount --tag H: --timer --summary wcdb1.db $* --query --without-rowid
29 ./wordcount --tag I: --timer --summary wcdb1.db $* --delete
30 ./wordcount --tag J: --timer --summary wcdb2.db $* --delete --without-rowid
31
32 # Clean up temporary files created.
33 #
34 rm -f wcdb1.db wcdb2.db
OLDNEW
« no previous file with comments | « third_party/sqlite/src/test/threadtest3.c ('k') | third_party/sqlite/src/test/tkt-2d1a5c67d.test » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698