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 221452 - Slow highlighting of multiple variables in javascript
Summary: Slow highlighting of multiple variables in javascript
Status: RESOLVED INCOMPLETE
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-11-05 00:32 UTC by ab3qik
Modified: 2015-05-22 09:05 UTC (History)
1 user (show)

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 ab3qik 2012-11-05 00:32:22 UTC
Product Version = NetBeans IDE 7.3 Beta (Build 201210011125)
Operating System = Windows 7 version 6.1 running on x86
Java; VM; Vendor = 1.7.0_09
Runtime = Java HotSpot(TM) Client VM 23.5-b02
Comment 1 ab3qik 2012-11-05 00:37:18 UTC
Scenario:
Multiple variables with the same name exist. Prompt goes over one and all the same variables are highlighted. Its correct but slow and comes on and off.
Comment 2 Petr Pisl 2012-11-05 15:23:35 UTC
Do you have please reproducible test case? What exactly do you mean slow. Is it the slow painting or it take a lot of time to count it? Also could you please provide ide snapshot during the action? There is how to provide the snapshot:
http://wiki.netbeans.org/FaqProfileMeNow
Comment 3 ab3qik 2012-11-05 18:04:48 UTC
Snapshot will not tell you much more than what i have explained. What would be helpful is a video of it in action. Unfortunately i dont have more time to spend on 1 issue.

However, i think i can answer your question quite accurately. When the prompt is over one variable there is a noticeable wait time before all the same variables become highlighted. There were about 3 variables. It means the querying of the number of variables takes longer than normal. Once the query ends, the rendering time of highlights is as normal(quite instant). My feedback is based on the behaviour/performance of the previous stable release as a reference point. Im sure the idea with a new release is to progress and not regress. Hope it helps.
Comment 4 Petr Pisl 2013-05-28 12:07:47 UTC
Without the snapshot I can not say what is slow. Or could you please provide a test case. If the problem still remains?
Comment 5 Petr Pisl 2015-05-22 09:05:33 UTC
Marking as incomplete. Please reopen, if you run still in the problem.