xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- 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:21:26 -0700
I'm measuring various doc flavours, in particular the ones in the samples/data/ dir of the nux download. On some docs, writePCDATA is also substantial.
It's possible that there's a bug in the indentation fix. The string.substring() memory overlay principle is sound, though. Actually, even on JDK 1.4 the old version made use allocations and copies for deeply nested docs. Consider that as soon as you do StringBuffer.add(), the shared backing array is lost, and allocs and mem copies are done, even in JDK 1.4...
Wolfgang.
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. That probably reflects the document I'm testing with at the moment, though, which has more than an average amount of data in attributes. I need to try a few others.
--
Elliotte Rusty Harold elharo AT metalab.unc.edu
XML in a Nutshell 3rd Edition Just Published!
http://www.cafeconleche.org/books/xian3/
http://www.amazon.com/exec/obidos/ISBN=0596007647/cafeaulaitA/ ref=nosim
-
[XOM-interest] Serializer performance patches,
Wolfgang Hoschek, 06/29/2005
- Re: [XOM-interest] Serializer performance patches, Elliotte Harold, 06/29/2005
-
Re: [XOM-interest] Serializer performance patches,
Elliotte Harold, 06/29/2005
- Re: [XOM-interest] Serializer performance patches, Wolfgang Hoschek, 06/29/2005
-
Re: [XOM-interest] Serializer performance patches,
Elliotte Harold, 06/29/2005
- Re: [XOM-interest] Serializer performance patches, Wolfgang Hoschek, 06/29/2005
- Re: [XOM-interest] Serializer performance patches, Elliotte Harold, 06/29/2005
-
Re: [XOM-interest] Serializer performance patches,
Elliotte Harold, 06/29/2005
- Re: [XOM-interest] Serializer performance patches, Wolfgang Hoschek, 06/29/2005
- Re: [XOM-interest] Serializer performance patches, Wolfgang Hoschek, 06/29/2005
-
Re: [XOM-interest] Serializer performance patches,
Elliotte Harold, 06/29/2005
-
Re: [XOM-interest] Serializer performance patches,
Wolfgang Hoschek, 06/29/2005
- Re: [XOM-interest] Serializer performance patches, Wolfgang Hoschek, 06/29/2005
- Re: [XOM-interest] Serializer performance patches, Elliotte Harold, 06/29/2005
-
Re: [XOM-interest] Serializer performance patches,
Robert Koberg, 06/29/2005
- Re: [XOM-interest] Serializer performance patches, Michael Kay, 06/29/2005
-
Re: [XOM-interest] Serializer performance patches,
Wolfgang Hoschek, 06/29/2005
- Re: [XOM-interest] Serializer performance patches, Elliotte Harold, 06/30/2005
- Re: [XOM-interest] Serializer performance patches, Elliotte Harold, 06/30/2005
-
Re: [XOM-interest] Serializer performance patches,
Wolfgang Hoschek, 06/29/2005
Archive powered by MHonArc 2.6.24.