Index of /archives/NetBSD/NetBSD-release-9/src/external/mit/expat/dist/tests/benchmark

Icon  Name                                                                 Last modified      Size  Description
[PARENTDIR] Parent Directory - [TXT] benchmark.c 2019-09-18 04:51 4.2K [TXT] README.txt 2016-05-14 23:30 548 [TXT] Makefile.in 2019-09-18 04:51 19K [TXT] Makefile.am 2019-09-18 04:51 1.6K [DIR] CVS/ 2024-02-15 03:49 -
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.@