xenocara/lib/expat/tests/benchmark
2007-08-25 17:32:07 +00:00
..
benchmark.c import expat 2.0.1 2007-08-25 17:32:07 +00:00
benchmark.dsp Import expat 2.0.0. (yet another copy, yeah) 2006-11-25 18:35:41 +00:00
benchmark.dsw Import expat 2.0.0. (yet another copy, yeah) 2006-11-25 18:35:41 +00:00
README.txt Import expat 2.0.0. (yet another copy, yeah) 2006-11-25 18:35:41 +00:00

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.