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 231016

Summary: org.netbeans.modules.search.BasicSearchForm.initFormPanel: LowPerformance took 20562 ms.
Product: utilities Reporter: Exceptions Reporter <exceptions_reporter>
Component: SearchAssignee: Jaroslav Havlin <jhavlin>
Status: RESOLVED WONTFIX    
Severity: normal CC: aquaglia, deep_pl, Petah
Priority: P3 Keywords: PERFORMANCE
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 189660
Attachments: nps snapshot

Description Exceptions Reporter 2013-06-10 09:16:44 UTC
Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 23.21-b01, Java(TM) SE Runtime Environment, 1.7.0_21-b11
OS: Windows XP

User Comments:
GUEST: it'll be caused by damn low spec work pc. if it's not problem, please ignore smily :)

GUEST: opening NB for the first time, computer has not been rebooted for a while (suspend / restore by closing lid)

petah: Doing anything while scanning



Maximum slowness yet reported was 20562 ms, average is 8364
Comment 1 Exceptions Reporter 2013-06-10 09:16:46 UTC
Created attachment 135573 [details]
nps snapshot
Comment 2 Petah 2013-06-10 10:49:25 UTC
Happens all the time. My PC is high spec so not the issue. 7.3.x has been unusable for me.
Comment 3 Jaroslav Havlin 2013-07-09 07:10:50 UTC
The slowness is caused by class loading, it cannot be fixed in NetBeans, I'm sorry.

(In reply to comment #2)
> Happens all the time. My PC is high spec so not the issue. 7.3.x has been
> unusable for me.
On Windows, it can happen quite easily if the hard drive is under heavy load, even on high spec PCs.
But it is still quite strange that it happens all the time. Can you please attach another profiler snapshot if it happens again? We should ensure that the cause is always the same.

Thanks for reporting.
Comment 4 Petah 2013-07-09 20:28:25 UTC
I have an SSD, so its IO speed is not exactly a problem either.
Comment 5 Jaroslav Havlin 2013-07-10 06:47:54 UTC
(In reply to comment #4)
> I have an SSD, so its IO speed is not exactly a problem either.
I've checked the snapshot again, and the only operations that takes some time are class loading and initialization of the dialog, no unnecessary I/O is invoked by NetBeans.
Maybe the SSD drive is fast, but the Windows filesystem might be slow for some reason.