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

Side by Side Diff: third_party/sqlite/sqlite-src-3080704/tool/speedtest.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 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 close $fd 266 close $fd
267 runtest {A big DELETE followed by many small INSERTs} 267 runtest {A big DELETE followed by many small INSERTs}
268 268
269 269
270 270
271 set fd [open test$cnt.sql w] 271 set fd [open test$cnt.sql w]
272 puts $fd {DROP TABLE t1;} 272 puts $fd {DROP TABLE t1;}
273 puts $fd {DROP TABLE t2;} 273 puts $fd {DROP TABLE t2;}
274 close $fd 274 close $fd
275 runtest {DROP TABLE} 275 runtest {DROP TABLE}
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/tool/spaceanal.tcl ('k') | third_party/sqlite/sqlite-src-3080704/tool/speedtest16.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698