Bug 78190 - [dom] Add ast creation performance tests
Summary: [dom] Add ast creation performance tests
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M4   Edit
Assignee: Frederic Fusier CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-09 12:28 EST by Jerome Lanneluc CLA
Modified: 2004-12-14 23:15 EST (History)
1 user (show)

See Also:


Attachments

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