users@fi.java.net

Re: VTD speed

From: Jimmy Zhang <crackeur_at_comcast.net>
Date: Tue, 31 Jan 2006 12:47:42 -0800

I tried to benchmark everything again with and without deferred node
expansion
and the new benchmark numbers are posted on the vtd-xml web site
http://www.ximpleware.com/benchmark1.html

basically it is to compare the performance of the following

VTD-XML 1.5 (to be released soon)
VTD-XML 1.5 with buffer reuse turned on
Xerces DOM 2.7.1 (deferred node expansion)
Xerces DOM 2.7.1 (fully expanded)
Xerces SAX 2.7.1
Piccolo
XPP Pull.




----- Original Message -----
From: "Paul Sandoz" <Paul.Sandoz_at_Sun.COM>
To: <users_at_fi.dev.java.net>
Sent: Thursday, January 26, 2006 1:39 AM
Subject: Xerces DOM deferred node expansion <was> Re: VTD speed


> Jimmy Zhang wrote:
>> I was trying to rerun the benchmark with deferred node
>> expansion set to false, is there reference on hwo to do this??
>> I use setFeature on DOMBuilderFactory but has no success...
>>
>> Any suggestions?
>
> Try this:
>
> DocumentBuilderFactory bf = ...
> bf.setAttribute("http://apache.org/xml/features/dom/defer-node-expansion",
> false).
>
> Paul.
>
> --
> | ? + ? = To question
> ----------------\
> Paul Sandoz
> x38109
> +33-4-76188109
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_fi.dev.java.net
> For additional commands, e-mail: users-help_at_fi.dev.java.net
>
>