Index of /DarwinSourceArchive/expanded/ChatServer/ChatServer-37.4/libraries/expat-1.95.8/tests/benchmark

      Name                    Last modified       Size  Description

[DIR] Parent Directory 28-Feb-2006 18:39 - [   ] benchmark.dsw 28-Feb-2006 18:39 1k [   ] benchmark.dsp 28-Feb-2006 18:39 3k [   ] benchmark.c 28-Feb-2006 18:39 2k

Use this benchmark command line utility as follows:

  benchmark [-n] <file name> <buffer size> <# iterations>

The command line arguments are:

  -n             ... optional; if supplied, then 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 of the number of iterations.