Bug 78190

Summary: [dom] Add ast creation performance tests
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Olivier_Thomann
Version: 3.1   
Target Milestone: 3.1 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Jerome Lanneluc CLA 2004-11-09 12:28:43 EST
I20041109

We need performance tests for the dom ast creation.
Comment 1 Frederic Fusier CLA 2004-11-12 13:21:31 EST
See proposal for global implementation of "full source workspace" tests attached
in bug 78188.
Comment 2 Frederic Fusier CLA 2004-11-16 12:40:15 EST
I'll add also test for AST.JLS3...
Comment 3 Frederic Fusier CLA 2004-11-17 06:35:02 EST
Released in HEAD.

New test class FullSourceWorkspaceASTTests has been created with 2 tests:
- create DOM/AST nodes hierarchy on all compilation unit of workspace using
  AST.JLS2 level
- create DOM/AST nodes hierarchy on all compilation unit of workspace using
  AST.JLS3 level

This tests initially returns following results:
AST.JLS2:
-------------------------------------
DOM/AST creation performance test statistics:
  - 6,156,482 nodes have been parsed.
  - 49,713 nodes have extended start position.
  - 99,639 nodes have extended end position.
-------------------------------------
AST.JLS3:
-------------------------------------
DOM/AST creation performance test statistics:
  - 6,208,684 nodes have been parsed.
  - 49,713 nodes have extended start position.
  - 99,645 nodes have extended end position.
-------------------------------------
Comment 4 Olivier Thomann CLA 2004-12-14 23:15:03 EST
Verified in 200412140800