]> granicus.if.org Git - libexpat/commitdiff
Explains usage of benchmark utility.
authorKarl Waclawek <kwaclaw@users.sourceforge.net>
Thu, 4 Sep 2003 16:13:10 +0000 (16:13 +0000)
committerKarl Waclawek <kwaclaw@users.sourceforge.net>
Thu, 4 Sep 2003 16:13:10 +0000 (16:13 +0000)
expat/tests/benchmark/README.txt [new file with mode: 0644]

diff --git a/expat/tests/benchmark/README.txt b/expat/tests/benchmark/README.txt
new file mode 100644 (file)
index 0000000..19b6b96
--- /dev/null
@@ -0,0 +1,16 @@
+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 namepsace 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.@