xref: /freebsd/contrib/expat/tests/benchmark/README.txt (revision 389e4940069316fe667ffa263fa7d6390d0a960f)
1Use this benchmark command line utility as follows:
2
3  benchmark [-n] <file name> <buffer size> <# iterations>
4
5The 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
13Returns:
14
15  The time (in seconds) it takes to parse the test file,
16  averaged over the number of iterations.@
17