Skip to Content.
Sympa Menu

xom-interest - Re: [XOM-interest] Canonicalizer Performance

xom-interest AT lists.ibiblio.org

Subject: XOM API for Processing XML with Java

List archive

Chronological Thread  
  • From: "Sean Truman" <struman AT nuparadigm.com>
  • To: "Elliotte Harold" <elharo AT metalab.unc.edu>, "xom-interest" <xom-interest AT lists.ibiblio.org>
  • Subject: Re: [XOM-interest] Canonicalizer Performance
  • Date: Mon, 28 Aug 2006 10:20:01 -0500

I have profiled, and it is hanging in the XPath Query

write(node.query(".//. | .//@* | .//namespace::*"));

So I think that it has something to do with the Jaxen plugin.


Sean Truman


-----Original Message-----
From: xom-interest-bounces AT lists.ibiblio.org
[mailto:xom-interest-bounces AT lists.ibiblio.org] On Behalf Of Elliotte Harold
Sent: Monday, August 28, 2006 10:13 AM
To: xom-interest
Subject: Re: [XOM-interest] Canonicalizer Performance

Sean Truman wrote:
> I have a 3MB xml ( http://download.nuparadigm.com/xom-issue/test.xml )
> file
> that I am trying to canonicalize and it is taking close to 14 Minutes
> for
> xom on a P4 3.2 with 1GB ram to canonicalize it. Any idea?
>

Not off the top of my head. There's probably a O(N^2) algorithm in there
somewhere or some such. I'll have to profile it and take a look.
However, this isn't going to happen momentarily barring funding, I'm
afraid. Right now I have several paying projects I have to give priority
too.

--
Elliotte Rusty Harold elharo AT metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/

_______________________________________________
XOM-interest mailing list
XOM-interest AT lists.ibiblio.org
http://lists.ibiblio.org/mailman/listinfo/xom-interest



Archive powered by MHonArc 2.6.24.

Top of Page