Re: SAXSource vs DocumentBuilder performance

"Scott Nichol" <[email protected]> Sat, 14 Feb 2004 00:32:45 -0500
Newsgroups gmane.text.xml.soap.devel
Message-ID <1c4201c3f2bb$fa151e40$6401a8c0@northgate>
My tests comparing the two methods showed no net difference.  Each method would slightly better the other in some tests, but in no test was either better by more than 10%, if I recall.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "WJCarpenter" <[email protected]>
To: <[email protected]>
Sent: Friday, February 13, 2004 5:31 PM
Subject: SAXSource vs DocumentBuilder performance


Some time back, post-2.3.1, this change was made to Apache SOAP:

      Add the ability to select between parsing XML using a
      DocumentBuilder versus a Transform from a SAXSource to a
      DOMResult on a per-Call basis.  This is on the client only.
      If testing establishes that the Transform offers a significant
      speed improvement, the server code may be changed as well.

I sort of recollect that there was a difference of opinion about
whether this actually made any difference or not.  Before I go off and
construct some tests to measure it, has anyone else already done so?
-- 
[email protected] (WJCarpenter)    PGP 0x91865119
38 95 1B 69 C9 C6 3D 25    73 46 32 04 69 D6 ED F3