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

Summary: org.netbeans.modules.web.jsf.api.metamodel.ModelUnit.<init>: LowPerformance took 23375 ms.
Product: javaee Reporter: Exceptions Reporter <exceptions_reporter>
Component: JSFAssignee: Martin Fousek <marfous>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.4   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 206305
Attachments: nps snapshot

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 ***