libexpat/expat/tests/benchmark
Karl Waclawek 74a3f4673d Modified code to use XML_ParserReset() instead of creating a new
parser instance on each iteration of the main loop.
2006-04-07 20:25:43 +00:00
..
benchmark.c Modified code to use XML_ParserReset() instead of creating a new 2006-04-07 20:25:43 +00:00
benchmark.dsp convert MSVC project and workspace files to binary files that must always 2004-09-30 02:47:03 +00:00
benchmark.dsw convert MSVC project and workspace files to binary files that must always 2004-09-30 02:47:03 +00:00
README.txt Small corrections. 2006-01-01 18:53:44 +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.@