summaryrefslogtreecommitdiff
path: root/examples/cxx/parser/performance/README
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2020-12-18 18:48:46 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-02-24 22:20:33 +0300
commita8ce5c380c69539fe0c7c62c397634d9d0c9fde2 (patch)
treec8db5c9b99416ca4686af953387f474af15bc92e /examples/cxx/parser/performance/README
parent7420f85ea19b0562ffdd8123442f32bc8bac1267 (diff)
Switch to build2
Diffstat (limited to 'examples/cxx/parser/performance/README')
-rw-r--r--examples/cxx/parser/performance/README42
1 files changed, 0 insertions, 42 deletions
diff --git a/examples/cxx/parser/performance/README b/examples/cxx/parser/performance/README
deleted file mode 100644
index 39aecca..0000000
--- a/examples/cxx/parser/performance/README
+++ /dev/null
@@ -1,42 +0,0 @@
-This example measures the performance of XML parsing in the C++/Parser
-mapping. It also shows how to structure your code to achieve the maximum
-performance for this operation.
-
-The example consists of the following files:
-
-test.xsd
- XML Schema which describes the test vocabulary.
-
-test-50k.xml
- Test XML document.
-
-gen.cxx
- Program to generate a test document of desired size.
-
-time.hxx
-time.cxx
- Class definition that represents time.
-
-test-pskel.hxx
-test-pskel.ixx
-test-pskel.cxx
- Parser skeletons generated by the XSD compiler from test.xsd.
-
-driver.cxx
- Driver for the example. It first parses the command line arguments
- and reads the entire document into a memory buffer. It then creates
- a SAX parser and pre-parses and caches the schema if validation is
- enabled (Xerces-C++ only). Finally, it runs the performance
- measurement loop which on each iteration parses the XML document
- from the in-memory buffer.
-
-To run the example on a test XML document simply execute:
-
-$ ./driver test-50k.xml
-
-The -v option can be used to turn on validation in the underlying XML
-parser (only makes sense for Xerces-C++, off by default). The -i option
-can be used to specify the number of parsing iterations (1000 by default).
-For example:
-
-$ ./driver -v -i 100 test-50k.xml