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 48352 - Code Completion for < is significantly slower than other CCs
Summary: Code Completion for < is significantly slower than other CCs
Status: CLOSED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 4.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords: PERFORMANCE
: 48606 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-02 10:24 UTC by L Martinek
Modified: 2006-03-24 09:46 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 L Martinek 2004-09-02 10:24:41 UTC
Type < and press Ctrl+Space. First invokation of
this code completion is the slowest one. Other CCs
take by average about 100 ms and this takes
between 1000 and 2000 ms. Limit is 1000 ms.
Subsequent invokation of this CC is faster, it
takes about 100 ms.
Comment 1 Dusan Balek 2004-09-07 16:32:40 UTC
*** Issue 48606 has been marked as a duplicate of this issue. ***
Comment 2 Dusan Balek 2004-09-07 16:42:15 UTC
Please ignore my previous comment. I have typed the wrong issue number.
Comment 3 clever 2004-09-09 21:53:31 UTC
SOrry. wrong bug adjusted. This was meant to be left at P3.
Comment 4 Marek Fukala 2004-09-14 15:33:10 UTC
This problem is mosty causes by parsing of some DTDs needed by code
completion. I hope I know how to speed it up, but it is not a trivial
fix. 

Besides I looked at the performance tests results and realized that
the test fails only on solaris. On windows and linux the fist
invocation takes about 500ms which meets the given criteria. 

Isn't there a problem with the solaris machine? 

I definitively do NOT want to mess the code up by a workaround fix
which is not really necessary.
Comment 5 Marek Fukala 2004-10-05 14:35:22 UTC
I noticed that the corresponding test passes now - I guess it was
caused some changes in tests. Can this issue be closed now?
Comment 6 L Martinek 2004-10-05 14:40:13 UTC
You are right.
Comment 7 L Martinek 2004-10-05 14:40:39 UTC
v.