Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 316986

Summary: [xpath2] Add an XPath2 performance test harness
Product: [WebTools] WTP Source Editing Reporter: Jesper Moller <jesper>
Component: wst.xpathAssignee: Jesper Moller <jesper>
Status: NEW --- QA Contact: Jesper Moller <jesper>
Severity: enhancement    
Priority: P3    
Version: 3.2   
Target Milestone: 4.0   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 316990, 316988    
Attachments:
Description Flags
Simple performance test for XPath2 none

Description Jesper Moller CLA 2010-06-15 19:18:28 EDT
The performance of XPath2 in the plain Helios version does not scale well. This is due to poor algorithms in a few places and a bad overhead in the way we use ResultSequences.

Now that we have good compliance, we can aim for better performance. Adding performance regression tests for some of the main scenarios will help us so that we don't degrade the performance/scalablity unknowingly.
Comment 1 Jesper Moller CLA 2010-06-15 19:21:17 EDT
Created attachment 172007 [details]
Simple performance test for XPath2

Simple performance test patch which will try a simple count on a number of nodes and see if it scales.

This is just for inspiration, I know the System.out must go :-)