Index of /ports/textproc/expat2/work/expat-2.0.0/tests/benchmark

      Name                    Last modified       Size  Description

[DIR] Parent Directory 11-Jan-2006 06:01 - [   ] benchmark.c 01-Jan-2006 13:17 3k [   ] benchmark.dsp 29-Sep-2004 19:47 3k [   ] benchmark.dsw 29-Sep-2004 19:47 1k

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.