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

Side by Side Diff: third_party/sqlite/sqlite-src-3080704/tool/speedtest16.c

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 /* 1 /*
2 ** Performance test for SQLite. 2 ** Performance test for SQLite.
3 ** 3 **
4 ** This program reads ASCII text from a file named on the command-line. 4 ** This program reads ASCII text from a file named on the command-line.
5 ** It converts each SQL statement into UTF16 and submits it to SQLite 5 ** It converts each SQL statement into UTF16 and submits it to SQLite
6 ** for evaluation. A new UTF16 database is created at the beginning of 6 ** for evaluation. A new UTF16 database is created at the beginning of
7 ** the program. All statements are timed using the high-resolution timer 7 ** the program. All statements are timed using the high-resolution timer
8 ** built into Intel-class processors. 8 ** built into Intel-class processors.
9 ** 9 **
10 ** To compile this program, first compile the SQLite library separately 10 ** To compile this program, first compile the SQLite library separately
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 printf("Statements run: %15d\n", nStmt); 160 printf("Statements run: %15d\n", nStmt);
161 printf("Bytes of SQL text: %15d\n", nByte); 161 printf("Bytes of SQL text: %15d\n", nByte);
162 printf("Total prepare time: %15llu cycles\n", prepTime); 162 printf("Total prepare time: %15llu cycles\n", prepTime);
163 printf("Total run time: %15llu cycles\n", runTime); 163 printf("Total run time: %15llu cycles\n", runTime);
164 printf("Total finalize time: %15llu cycles\n", finalizeTime); 164 printf("Total finalize time: %15llu cycles\n", finalizeTime);
165 printf("Open/Close time: %15llu cycles\n", iSetup); 165 printf("Open/Close time: %15llu cycles\n", iSetup);
166 printf("Total Time: %15llu cycles\n", 166 printf("Total Time: %15llu cycles\n",
167 prepTime + runTime + finalizeTime + iSetup); 167 prepTime + runTime + finalizeTime + iSetup);
168 return 0; 168 return 0;
169 } 169 }
OLDNEW
« no previous file with comments | « third_party/sqlite/sqlite-src-3080704/tool/speedtest.tcl ('k') | third_party/sqlite/sqlite-src-3080704/tool/speedtest2.tcl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698