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 199324 - [70cat] LowPerformance took 36001 ms.
Summary: [70cat] LowPerformance took 36001 ms.
Status: RESOLVED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Freeform (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-06-10 06:30 UTC by Exceptions Reporter
Modified: 2012-10-29 10:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 171066


Attachments
nps snapshot (117.85 KB, application/nps)
2011-06-10 06:30 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-06-10 06:30:49 UTC
Build: NetBeans IDE 6.9.1 (Build 201007282301)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105, Java(TM) SE Runtime Environment, 1.6.0-b105
OS: Windows XP

User Comments:
GUEST: I was trying to clean build a small project with 5 classes while one more very big project was loaded. I do these steps frequently but I faced this problem only once.



Maximum slowness yet reported was 36001 ms, average is 19528
Comment 1 Exceptions Reporter 2011-06-10 06:30:56 UTC
Created attachment 108831 [details]
nps snapshot
Comment 2 Tomas Zezula 2011-06-10 09:16:48 UTC
The freeform project tries to load the actions from the project.xml and it's blocked as the "Open Projects" thread  is saving a project. And the save is very slow as there is very high IO load.
There is Subversion is building the cache. FileSystems are doing refresh.
I remember I've filled an enhancement on runPriorityIO to be able to stop also VCS, so it may help in future.
Unfortunately the Actions are needed from EDT. What I can do is to return some dummy action "Loading..." when the actions are not loaded.
Comment 3 Jesse Glick 2011-06-10 17:59:05 UTC
(In reply to comment #2)
> the save is very slow as there is very high IO load.

Probably nothing to be done about it. When I/O is saturated, pretty much everything is going to freeze.

> What I can do is to return some
> dummy action "Loading..." when the actions are not loaded.

Not possible, I think. This is checking delete action enablement, and getSupportedActions cannot run asynch.
Comment 4 Petr Cyhelsky 2012-10-29 10:40:15 UTC
as per Jesse's comment - not much can be done about this