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

Side by Side Diff: third_party/sqlite/sqlite-src-3080704/tool/speedtest2.tcl

Issue 883353008: [sql] Import reference version of SQLite 3.8.7.4. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hold back encoding change which is messing up patch. Created 5 years, 10 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
1 #!/usr/bin/tclsh 1 #!/usr/bin/tclsh
2 # 2 #
3 # Run this script using TCLSH to do a speed comparison between 3 # Run this script using TCLSH to do a speed comparison between
4 # various versions of SQLite and PostgreSQL and MySQL 4 # various versions of SQLite and PostgreSQL and MySQL
5 # 5 #
6 6
7 # Run a test 7 # Run a test
8 # 8 #
9 set cnt 1 9 set cnt 1
10 proc runtest {title} { 10 proc runtest {title} {
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
198 set fd [open test$cnt.sql w] 198 set fd [open test$cnt.sql w]
199 puts $fd "DELETE FROM t1;" 199 puts $fd "DELETE FROM t1;"
200 close $fd 200 close $fd
201 runtest {DELETE everything} 201 runtest {DELETE everything}
202 202
203 203
204 set fd [open test$cnt.sql w] 204 set fd [open test$cnt.sql w]
205 puts $fd {DROP TABLE t1;} 205 puts $fd {DROP TABLE t1;}
206 close $fd 206 close $fd
207 runtest {DROP TABLE} 207 runtest {DROP TABLE}
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/tool/speedtest16.c ('k') | third_party/sqlite/sqlite-src-3080704/tool/speedtest8.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698