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 175348 - 26s - ActiveConfigAction's update
Summary: 26s - ActiveConfigAction's update
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL: http://statistics.netbeans.org/except...
Keywords:
: 170949 178487 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-23 23:51 UTC by _ ludo
Modified: 2010-09-23 12:55 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 157343


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ ludo 2009-10-23 23:51:59 UTC
Build: NetBeans IDE 6.8 Beta (Build 200910212001)
VM: Java HotSpot(TM) 64-Bit Server VM, 14.1-b02-90, Java(TM) SE Runtime Environment, 1.6.0_15-b03-219
OS: Mac OS X, 10.6.1, x86_64
User comments: 
Maximum slowness yet reported was 26254 ms, average is 11618
Comment 1 Jaroslav Tulach 2009-10-26 12:13:04 UTC
Most of the long calls seem to arrive from ActiveConfigAction (except bug 175416). It should probably reschedule its 
update outside of AWT thread.
Comment 2 Milos Kleint 2009-11-04 13:28:01 UTC
related to issue 172526 which sped things up a bit. There is no clear way to make it superfast.
The uptimate slow process is reading the pom+all it's parents (can be like 5) and extract profiles from it. There's no
other way to retrieve a list of profiles available. So the call to getConfigurations will eventually result in
parsing/building/downloading parent pom files. Additionally the action wraps calls to the configuration provider into a
read project mutex, increasing the likelihood of other things running to slow it down.
I don't see however how the action's up could load the list up front and then somehow update it. any such tricks would
just break macosx usage I think.
Comment 3 Antonin Nebuzelsky 2010-03-29 14:11:16 UTC
Change of default owner.
Comment 4 Jesse Glick 2010-04-27 02:09:14 UTC
*** Bug 178487 has been marked as a duplicate of this bug. ***
Comment 5 Jesse Glick 2010-04-27 02:15:28 UTC
core-main #89b2bb5f3891
Comment 6 Quality Engineering 2010-04-28 04:59:07 UTC
Integrated into 'main-golden', will be available in build *201004280200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/
User: 
Log:
Comment 7 Jesse Glick 2010-09-23 12:55:46 UTC
*** Bug 170949 has been marked as a duplicate of this bug. ***