sandygao    2002/08/26 11:00:43

  Modified:    java/docs properties.xml
  Log:
  Updating the doc for the new property "input-buffer-size".
  
  Revision  Changes    Path
  1.10      +19 -0     xml-xerces/java/docs/properties.xml
  
  Index: properties.xml
  ===================================================================
  RCS file: /home/cvs/xml-xerces/java/docs/properties.xml,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- properties.xml    5 Dec 2001 19:52:19 -0000       1.9
  +++ properties.xml    26 Aug 2002 18:00:43 -0000      1.10
  @@ -107,6 +107,25 @@
       property.
      </note>
     </property>
  +  <property name='http://apache.org/xml/properties/input-buffer-size'
  +            id='input-buffer-size'>
  +   <desc>
  +    The size of the input buffer in the readers. This determines how many
  +    bytes to read for each chunk.
  +   </desc>
  +   <type>java.lang.Integer</type>
  +   <access general='read-write'/>
  +   <note>
  +    Some tests indicate that a bigger buffer size can improve the parsing
  +    performance for relatively large files. The default buffer size
  +    in Xerces is 2K. This would give a good performance for small documents
  +    (less than 10K). For documents larger than 10K, specifying the buffer
  +    size to 4K or 8K will significantly improve the performance. But it's not
  +    recommended to set it to a value larger than 16K. For really tiny
  +    documents (1K, for example), you can also set it to a value less than 2K,
  +    to get the best performance.
  +   </note>
  +  </property>
    </pcategory>
    <pcategory name='DOM Properties'>
     <property name='http://apache.org/xml/properties/dom/current-element-node'
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to