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 242820 - org.netbeans.modules.web.jsf.api.metamodel.ModelUnit.<init>: LowPerformance took 23375 ms.
Summary: org.netbeans.modules.web.jsf.api.metamodel.ModelUnit.<init>: LowPerformance t...
Status: RESOLVED DUPLICATE of bug 244702
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2014-03-12 09:10 UTC by Exceptions Reporter
Modified: 2014-07-28 11:50 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 206305


Attachments
nps snapshot (146.65 KB, application/nps)
2014-03-12 09:10 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2014-03-12 09:10:25 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) Client VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
GUEST: slow running with 2 gb data

GUEST: When run file...



Maximum slowness yet reported was 27885 ms, average is 25630
Comment 1 Exceptions Reporter 2014-03-12 09:10:28 UTC
Created attachment 145965 [details]
nps snapshot
Comment 2 Martin Fousek 2014-03-21 06:55:46 UTC
It looks that the run action was looking for available frameworks but because of sources scanning it took 9 seconds to run it. If the preferences doesn't contain the notice about JSF framework the hasJsfFramework() should return false in case of fastly unaccessible model. Targeting to next.
Comment 3 Martin Fousek 2014-07-28 11:50:45 UTC
The better solution was to register listeners in the BG thread which was done in bug #244702. Marking this issue as a duplicate.

*** This bug has been marked as a duplicate of bug 244702 ***