This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 182987 - 20 times reference resolving performance degradation on clucene
Summary: 20 times reference resolving performance degradation on clucene
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Completion (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P1 normal (vote)
Assignee: nnnnnk
URL:
Keywords: PERFORMANCE, REGRESSION
Depends on:
Blocks:
 
Reported: 2010-03-27 10:02 UTC by Alexander Simon
Modified: 2010-03-29 19:11 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2010-03-27 10:02:08 UTC
Degradation on reference resolving. See log from two NB:
NB 6.8 src\CLucene\config\gunichartables.h has 11265 lines; took 9328ms
NB 6.9src\CLucene\config\gunichartables.h has 11265 lines; took 188985ms
Comment 1 Alexander Simon 2010-03-27 10:12:45 UTC
Summary time and quality of resolving are:

NB 6.8:
Unresolved 194 (0,29%) where MacroBased 180 (0,27%) of 67022 checkpoints [TemplateBased warnings 30 (0,04%), Builtin 0 (0,00%)]
Line count: 51080, time 106258 ms,
speed 480,72 lines/sec, 630,75 refs/sec
Analyzing clucene-core-0.9.21b_1 took 106421ms

NB 6.9:
Unresolved 194 (0,29%) where MacroBased 180 (0,27%) of 67022 checkpoints [TemplateBased warnings 30 (0,04%), Builtin 0 (0,00%)]
Line count: 51080, time 290196 ms,
speed 176,02 lines/sec, 230,95 refs/sec
Analyzing clucene-core-0.9.21b_1 took 290297ms

You can see that qualities equal.
How does CND spend additional 184 seconds?
Comment 3 Alexander Simon 2010-03-29 19:11:17 UTC
Verified, now time is:
D:\tec\Projects\clucene-core-0.9.21b\src\CLucene\config\gunichartables.h has 11265 lines; took 12938ms

Summary:
Unresolved 194 (0,29%) where MacroBased 180 (0,27%) of 67022 checkpoints [TemplateBased warnings 30 (0,04%), Builtin 0 (0,00%)]
Line count: 51080, time 114435 ms,
speed 446,37 lines/sec, 585,68 refs/sec
Analyzing clucene-core-0.9.21b_1 took 114828ms