Bug 78188 - [search] Add search performance test
Summary: [search] Add search performance test
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:24 EST by Jerome Lanneluc CLA
Modified: 2004-12-14 23:14 EST (History)
0 users

See Also:


Attachments
Complete implementation for full source workspace tests (47.24 KB, patch)
2004-11-12 13:19 EST, Frederic Fusier CLA
no flags Details | Diff

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:24:22 EST
I20041109

We need performance tests for search.
Comment 1 Frederic Fusier CLA 2004-11-12 13:19:57 EST
Created attachment 15828 [details]
Complete implementation for full source workspace tests

First proposal to implement tests on "full source workspace".
It also address initial implementation for performance tests on
- Search
- Type Hierarchy (bug 78189)
- AST Creation (bug 78190)
Comment 2 Frederic Fusier CLA 2004-11-17 06:29:17 EST
Released in HEAD.

New test class FullSourceWorkspaceSearchTests has been created with 4 tests:
- type search all occurences in workspace of JavaCore,
- field search all occurences in workspace of FILE,
- method search all occurences in workspace of equals,
- constructor search all occurences in workspace of String.

These tests nitially return following results:
-------------------------------------
Search performance test statistics:
  - 2,145 type references found.
  - 359 field references found.
  - 9,755 method references found.
  - 1,182 constructor references found.
-------------------------------------
Comment 3 Olivier Thomann CLA 2004-12-14 23:14:54 EST
Verified in 200412140800