xmlreaderimpl/support/expat-2.0.1/tests/benchmark/README.txt
changeset 300 b6d834208d33
parent 299 f06c5eba524d
child 301 1bfe4ecc6c10
equal deleted inserted replaced
299:f06c5eba524d 300:b6d834208d33
     1 Use this benchmark command line utility as follows:
       
     2 
       
     3   benchmark [-n] <file name> <buffer size> <# iterations>
       
     4 
       
     5 The command line arguments are:
       
     6 
       
     7   -n             ... optional; if supplied, namespace processing is turned on
       
     8   <file name>    ... name/path of test xml file
       
     9   <buffer size>  ... size of processing buffer;
       
    10                      the file is parsed in chunks of this size
       
    11   <# iterations> ... how often will the file be parsed
       
    12 
       
    13 Returns:
       
    14 
       
    15   The time (in seconds) it takes to parse the test file,
       
    16   averaged over the number of iterations.