Hi,
My first guess would be the GC. Try running the app with the switch
-verbose:gc, and see if the GC is freezing your app

Mike

> -----Original Message-----
> From: Kansal Sumitabh [mailto:[EMAIL PROTECTED] 
> Sent: Thursday 27 March 2003 22:36
> To: [EMAIL PROTECTED]
> Subject: [dom4j-user] Performance variation using dom4j
> 
> 
> Hello,
> 
> I am evaluating various Java XML parsers for best
> performance. Some of the areas I am testing dom4j are
> -
> 1. Parsing the document.
> 2. Using XPath queries.
> 3. Manipulating the xml document, adding nodes,
> removing nodes etc.
> 4. Use FindByNode
> 
> I see that the performance while doing selectNodes and 
> specifying an XPath varies considerably across runs - for my 
> 8MB xml file, sometimes it takes 3.2 seconds and sometimes 20 seconds.
> 
> Any idea why it should be happenning?
> 
> Thanks,
> Sumitabh
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your 
> desktop! http://platinum.yahoo.com
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by:
> The Definitive IT and Networking Event. Be There!
> NetWorld+Interop Las Vegas 2003 -- Register today!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
> _______________________________________________
> dom4j-user mailing list
> [EMAIL PROTECTED] 
> https://lists.sourceforge.net/lists/listinfo/d> om4j-user
> 


-------------------------------------------------------
This SF.net email is sponsored by:
The Definitive IT and Networking Event. Be There!
NetWorld+Interop Las Vegas 2003 -- Register today!
http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en
_______________________________________________
dom4j-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/dom4j-user

Reply via email to