Ankit, thanks for the great work. I've committed your patch to CVS.

I made some small modifications. Instead of creating all the buffers up 
front the buffer pool is initialized as empty. I also moved the two new 
classes into XMLEntityManager.

Ankit Pasricha/Toronto/[EMAIL PROTECTED] wrote on 10/20/2004 01:58:01 PM:

> 
> Here are some informal numbers from xerces after the performance 
> patch submitted earlier is applied. 
> The comparison was done taking Xerces 2.6.2 binary as the base. 
> The XML file used contained multiple entity references with nesting 
> depth of upto 3 levels. 
> 
> XMLEntityManager$ScannedEntity creation: 
> 
> Xerces 2.6.2:  0.8 sec for 674 invocations (avg) 
> New               :  0.02 sec for 674 invocations (avg) 
> 
> This translates to a 7-9% improvement in the overall speed of 
> parsing. This, of course, is highly 
> dependent on the content of the input. 
> 
> Ankit Pasricha
> XML Parser Development
> IBM Toronto Lab
> 8200 Warden Avenue, Ontario L6G 1C7
> Phone: (905) 413 4941

Michael Glavassevich
XML Parser Development
IBM Toronto Lab
E-mail: [EMAIL PROTECTED]
E-mail: [EMAIL PROTECTED]

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

Reply via email to