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


Reply via email to