Jing Yu | 40172a0 | 2012-02-15 16:16:33 -0800 | [diff] [blame^] | 1 | Use this benchmark command line utility as follows: |
| 2 | |
| 3 | benchmark [-n] <file name> <buffer size> <# iterations> |
| 4 | |
| 5 | The command line arguments are: |
| 6 | |
| 7 | -n ... optional; if supplied, namespace processing is turned on |
| 8 | <file name> ... name/path of test xml file |
| 9 | <buffer size> ... size of processing buffer; |
| 10 | the file is parsed in chunks of this size |
| 11 | <# iterations> ... how often will the file be parsed |
| 12 | |
| 13 | Returns: |
| 14 | |
| 15 | The time (in seconds) it takes to parse the test file, |
| 16 | averaged over the number of iterations. |