Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 316986 - [xpath2] Add an XPath2 performance test harness
Summary: [xpath2] Add an XPath2 performance test harness
Status: NEW
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: wst.xpath (show other bugs)
Version: 3.2   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 4.0   Edit
Assignee: Jesper Moller CLA
QA Contact: Jesper Moller CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 316990 316988
  Show dependency tree
 
Reported: 2010-06-15 19:18 EDT by Jesper Moller CLA
Modified: 2010-08-11 17:08 EDT (History)
0 users

See Also:


Attachments
Simple performance test for XPath2 (4.51 KB, patch)
2010-06-15 19:21 EDT, Jesper Moller CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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 :-)