aboutsummaryrefslogtreecommitdiff
path: root/expat/tests/benchmark/README.txt
blob: 7f9cca037ec4abcc7da229768ccbaf82920cca49 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.