mrglavas 2003/11/18 16:13:11
Modified: java/docs faq-performance.xml
Log:
Added section on grammar caching. Modified section
which discusses performance of parser configurations.
XML11Configuration (the default) has similar performance
to the NonValidatingCongfiguration since Elena improved
reset.
Revision Changes Path
1.8 +9 -7 xml-xerces/java/docs/faq-performance.xml
Index: faq-performance.xml
===================================================================
RCS file: /home/cvs/xml-xerces/java/docs/faq-performance.xml,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- faq-performance.xml 19 Jun 2002 20:55:28 -0000 1.7
+++ faq-performance.xml 19 Nov 2003 00:13:11 -0000 1.8
@@ -21,13 +21,10 @@
if you have multiple threads parsing at the same time.
</p>
<p>
- The parser configuration will affect the performance of the parser.
- If you are interested in evaluating the parser performance with DTDs use the
- <code>DTDConfiguration</code> (<em>Note</em>: you can build Xerces with
DTD-only support
- using <em>dtdjars</em> build target).
- For testing the performance for XML Schema validation turn on the schema
validation feature and use
- the <code>StandardParserConfiguration </code> (<em>Note</em>: this is the
default parser
- configuration).
+ The parser configuration may affect the performance of the parser.
+ For example, if you are interested in evaluating the parser performance
+ with DTDs use the <code>DTDConfiguration</code> (<em>Note</em>: you can
+ build Xerces with DTD-only support using <em>dtdjars</em> build target).
</p>
</a>
</faq>
@@ -78,6 +75,11 @@
<q>XML Application Performance</q>
<a>
<ul>
+ <li><strong>Grammar Caching</strong> -- if you do need validation, consider
+ using grammar caching to reduce the cost of validation by allowing the parser
+ to skip grammar loading and assessment. See this <link
idref="faq-grammars">FAQ</link>
+ on how to perform grammar caching with Xerces.
+ </li>
<li><strong>Validation</strong> -- if you don't need validation (and infoset
augmentation)
of XML documents,
don't include validators (DTD or XML Schema) in the pipeline.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]