Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] More 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] More Serializer performance patches
  • Date: Thu, 21 Jul 2005 10:08:04 -0700

On Jul 21, 2005, at 10:01 AM, Elliotte Harold wrote:

Wolfgang Hoschek wrote:

Here are some more Serializer performance patches against xom-1.1-CVS
1. improved UnicodeWriter.{writePCData, writeMarkup, writeAttributeValue) for strings that contain both portions that need - escaping and others that do not need escaping. Example: foo bar hello world foo bar


This change did not show a measurable difference in my initial tests. Possibly this is one of those areas where VM differences are coming into play.


It depends on the document flavour: If there are such mixed portions (typically textual documents such as the bible or samples/data/ randj.xml) it makes a lot of difference, otherwise (e.g. data oriented periodic.xml or db10000.xml) it doesn't help much but it certainly doesn't hurt.

Wolfgang.





Archive powered by MHonArc 2.6.24.

Top of Page