xom-interest AT lists.ibiblio.org
Subject: XOM API for Processing XML with Java
List archive
- From: Elliotte Harold <elharo AT metalab.unc.edu>
- To: Wolfgang Hoschek <whoschek AT lbl.gov>
- Cc: xom-interest AT lists.ibiblio.org
- Subject: Re: [XOM-interest] Attributes performance patch
- Date: Tue, 23 Nov 2004 07:47:37 -0500
I wrote a benchmark of my own that just copies an existing document manually (i.e. without using the various copy methods) so that it hits everything in the Verifier. Profiling revealed a few hotspots, particularly places where I should have been caching the length of a string and using a toCharArray instead of charAt. However some of the optimizations you suggested seemed to have negative effects on my VM. In particular, pulling the try-catch blocks out of for loops appeared to slightly increase the time spent in those methods. We may be at the point where optimizations are getting too tightly tied to the idiosyncrasies of one VM or the other. :-(
--
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] Attributes performance patch,
Wolfgang Hoschek, 11/21/2004
-
Re: [XOM-interest] Attributes performance patch,
Elliotte Harold, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Wolfgang Hoschek, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Elliotte Harold, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Wolfgang Hoschek, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Elliotte Harold, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Wolfgang Hoschek, 11/22/2004
- Re: [XOM-interest] Attributes performance patch, Elliotte Harold, 11/23/2004
- Re: [XOM-interest] Attributes performance patch, Elliotte Harold, 11/23/2004
- Re: [XOM-interest] Attributes performance patch, Wolfgang Hoschek, 11/23/2004
- Re: [XOM-interest] Attributes performance patch, Elliotte Harold, 11/23/2004
- Re: [XOM-interest] Attributes performance patch, Wolfgang Hoschek, 11/23/2004
-
Re: [XOM-interest] Attributes performance patch,
Wolfgang Hoschek, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Elliotte Harold, 11/22/2004
- Re: [XOM-interest] Attributes performance patch, Elliotte Harold, 11/23/2004
- Re: [XOM-interest] Attributes performance patch, Wolfgang Hoschek, 11/23/2004
-
Re: [XOM-interest] Attributes performance patch,
Wolfgang Hoschek, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Elliotte Harold, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Wolfgang Hoschek, 11/22/2004
-
Re: [XOM-interest] Attributes performance patch,
Elliotte Harold, 11/22/2004
- Re: [XOM-interest] Attributes performance patch, Wolfgang Hoschek, 11/22/2004
- RE: [XOM-interest] Attributes performance patch, Michael Kay, 11/22/2004
Archive powered by MHonArc 2.6.24.