libexpat/expat/tests/benchmark
2020-03-17 20:35:20 +01:00
..
.gitignore Extend .gitignore 2017-08-11 23:25:00 +02:00
benchmark.c Mass-apply clang-format 9 using ./apply-clang-format.sh 2019-08-03 21:31:44 +02:00
Makefile.am Update Autotools to use AM_CPPFLAGS, AM_CFLAGS, and AM_CXXFLAGS 2020-03-17 20:35:20 +01:00
README.txt

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.@