freebsd-dev/contrib/expat/tests/benchmark
2013-02-26 00:58:44 +00:00
..
benchmark.c Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
README.txt Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +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.