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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 } | 207 } |
208 } | 208 } |
209 | 209 |
210 sqlite3_instvfs_destroy(pInstVfs); | 210 sqlite3_instvfs_destroy(pInstVfs); |
211 return 0; | 211 return 0; |
212 | 212 |
213 usage: | 213 usage: |
214 fprintf(stderr, zUsageMsg, argv[0]); | 214 fprintf(stderr, zUsageMsg, argv[0]); |
215 return -3; | 215 return -3; |
216 } | 216 } |
OLD | NEW |