opnsense-src/contrib/expat/tests/benchmark
Xin LI 6b2c1e49da MFV r355071: libbsdxml (expat) 2.2.9.
MFC after:	2 weeks
Relnotes:	yes
2019-11-25 07:48:16 +00:00
..
benchmark.c MFV r355071: libbsdxml (expat) 2.2.9. 2019-11-25 07:48:16 +00:00
benchmark.sln Update expat to 2.2.6 2018-11-04 16:08:59 +00:00
Makefile.am Update expat to 2.2.6 2018-11-04 16:08:59 +00:00
Makefile.in MFV r355071: libbsdxml (expat) 2.2.9. 2019-11-25 07:48:16 +00:00
README.txt MFV r302260: expat 2.2.0 2016-07-01 05:48:45 +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.@