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 244909 - org.netbeans.modules.css.refactoring.CssActionsImplementationProvider.canFindUsages: LowPerformance took 120208 ms.
Summary: org.netbeans.modules.css.refactoring.CssActionsImplementationProvider.canFind...
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: CSS Editor (show other bugs)
Version: 8.0
Hardware: All All
: P2 normal (vote)
Assignee: Marek Fukala
URL:
Keywords: PERFORMANCE
: 244908 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-06-05 12:44 UTC by Vladimir Kvashin
Modified: 2014-07-15 02:04 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205492


Attachments
nps snapshot (353.83 KB, application/nps)
2014-06-05 12:44 UTC, Vladimir Kvashin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Kvashin 2014-06-05 12:44:34 UTC
This issue was reported manually by vkvashin.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build 20140605-3b6fa2f1abfb)
VM: Java HotSpot(TM) Client VM, 24.55-b03, Java(TM) SE Runtime Environment, 1.7.0_55-b13
OS: SunOS

User Comments:
GUEST: Used the "Find..." Tool from the context menu and it freezed for 29 secs.

vkvashin: I right clicked on a C source file - UI froze for 2 minutes



Maximum slowness yet reported was 120208 ms, average is 74681
Comment 1 Vladimir Kvashin 2014-06-05 12:44:39 UTC
Created attachment 147583 [details]
nps snapshot
Comment 2 Vladimir Kvashin 2014-06-05 12:49:52 UTC
What makes this especially unpleasant for user is that 

1) I did not have neither Web nor Java NetBeans component installed - only pure C/C++ pack

2) I clicked on a C++ source file - not a html or css one

I would also like to note that it's this C/C++-only configuration that is used as a platform for Oracle Solaris Studio, which is now affected bythis bug.
Comment 3 Vladimir Kvashin 2014-06-05 12:50:40 UTC
*** Bug 244908 has been marked as a duplicate of this bug. ***
Comment 4 Vladimir Kvashin 2014-06-06 09:45:37 UTC
Is there any plans to fix this in the near future?
We need this badly.

We spend a lot to achieve a goal of making C/C++ pack 8.0 about 6 times faster on slow connections, but this bug makes our work null and void
Comment 5 Marek Fukala 2014-07-09 10:32:20 UTC
I'll try to fix it today.
Comment 6 Marek Fukala 2014-07-09 15:30:26 UTC
fixed in web-main

changeset:   275214:bd0f8e4f0643
user:        Marek Fukala <mfukala@netbeans.org>
date:        Wed Jul 09 17:28:53 2014 +0200
summary:     #244909 - org.netbeans.modules.css.refactoring.CssActionsImplementationProvider.canFindUsages: LowPerformance took 120208 ms.
Comment 7 Quality Engineering 2014-07-10 02:46:09 UTC
Integrated into 'main-silver', will be available in build *201407100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/bd0f8e4f0643
User: Marek Fukala <mfukala@netbeans.org>
Log: #244909 - org.netbeans.modules.css.refactoring.CssActionsImplementationProvider.canFindUsages: LowPerformance took 120208 ms.
Comment 8 Vladimir Kvashin 2014-07-10 10:22:00 UTC
Thank you so much!!! :)
Comment 9 Marek Fukala 2014-07-10 11:11:02 UTC
You are welcome, hope it helps :)
Comment 10 Quality Engineering 2014-07-12 05:10:25 UTC
Integrated into 'main-silver', will be available in build *201407120001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/61c4ecd600f5
User: Marek Fukala <mfukala@netbeans.org>
Log: #244909 - an additional fix to make the SASS/LESS refactorings work
Comment 11 Quality Engineering 2014-07-15 02:04:33 UTC
Integrated into 'main-silver', will be available in build *201407150001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/f0f4d8851b51
User: Marek Fukala <mfukala@netbeans.org>
Log: #244909 - @at-root sass directive support