OLD | NEW |
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 ** and submits that text to SQLite for evaluation. A new database | 5 ** and submits that text to SQLite for evaluation. A new database |
6 ** is created at the beginning of the program. All statements are | 6 ** is created at the beginning of the program. All statements are |
7 ** timed using the high-resolution timer built into Intel-class processors. | 7 ** timed using the high-resolution timer built into Intel-class processors. |
8 ** | 8 ** |
9 ** To compile this program, first compile the SQLite library separately | 9 ** To compile this program, first compile the SQLite library separately |
10 ** will full optimizations. For example: | 10 ** will full optimizations. For example: |
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
251 | 251 |
252 #ifdef HAVE_OSINST | 252 #ifdef HAVE_OSINST |
253 if( pVfs ){ | 253 if( pVfs ){ |
254 sqlite3_instvfs_destroy(pVfs); | 254 sqlite3_instvfs_destroy(pVfs); |
255 printf("vfs log written to %s\n", argv[0]); | 255 printf("vfs log written to %s\n", argv[0]); |
256 } | 256 } |
257 #endif | 257 #endif |
258 | 258 |
259 return 0; | 259 return 0; |
260 } | 260 } |
OLD | NEW |