Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Serializer performance patches

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: Wolfgang Hoschek <whoschek AT lbl.gov>
  • To: Elliotte Harold <elharo AT metalab.unc.edu>
  • Cc: xom-interest AT lists.ibiblio.org
  • Subject: Re: [XOM-interest] Serializer performance patches
  • Date: Wed, 29 Jun 2005 13:28:02 -0700

On Jun 29, 2005, at 1:13 PM, Elliotte Harold wrote:

Testing the various patches individually the biggest win seems to be in the change to writeMarkup, the second biggest (surprisingly) in writeAttributeValue. writePCDATA doesn't seem to make a big difference.

I measured them individually and finally in combination, in the following order:

0. write(Element) flush issue
1. writeMarkup
2. writeAttributeValue
3. writePCData
4. indentation for indent=0 and indent=4

It might help you to repeat that order, if you like...





Archive powered by MHonArc 2.6.24.

Top of Page