to continue i ve take screen shots with jprofiler, there is no way to upload image in forum?
(Tests during same time under ie or firefox 3)
The thread com.gargoylesoftware.htmlunit.TreadManager take over 25% of time with 195s (for 20 tests)
I continue my investigations..
This is good information. Thanks for taking the time to do the profiling.
An initial request could easily be 2000ms because there is some application setup involved. I would think that 8000ms would be unusual unless you were doing something intensive with your own application setup on the first request. But this is all speculation on my part because I haven't had time to do proper profiling.
Profiling has been on my to-do list for quite some time and I plan for optimization to be a major part of the next release. I've now created an official Jira task for it.
Please try to attach your screen shots to the Jira task. If you are unable to do that then you can mail me the screen shots. Any further information you find will be greatly appreciated.
Thanks Adrien. This is deep within HtmlUnit. I'll have to get the HtmlUnit team to look at it.
So we are talking about the 4.7% of time spent in XPathUtils.getByXPath()? What do you see when you expand that node?