minix/external/mit/expat/dist/tests/benchmark/README.txt
Lionel Sambuc 1230fdc108 external/mit/expat: Import
Change-Id: Ieb49357166b392956df6554a06fcae83c8fd519d
2014-11-10 14:43:28 +01:00

16 lines
No EOL
546 B
Text
Executable file

Use this benchmark command line utility as follows:
benchmark [-n] <file name> <buffer size> <# iterations>
The command line arguments are:
-n ... optional; if supplied, namespace processing is turned on
<file name> ... name/path of test xml file
<buffer size> ... size of processing buffer;
the file is parsed in chunks of this size
<# iterations> ... how often will the file be parsed
Returns:
The time (in seconds) it takes to parse the test file,
averaged over the number of iterations.