This bug was originally marked as duplicate of bug 180595, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.
Build: NetBeans IDE Dev (Build 201104100401)
VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02
OS: Windows 7
davideconsonni: opening ide
Maximum slowness yet reported was 3139 ms, average is 3139
Created attachment 107723 [details]
Created attachment 109221 [details]
at netbeans start proyect scanning
Created attachment 109230 [details]
Today, it took 20s, see id #551151.
I took a dump during and after this slowness.
Created attachment 114127 [details]
dump during and after slowness
Partially solved by 194965 (MainMenuAction.setMenu() getting info from MimeLookup is now rescheduled from AWT).
Also AlwaysEnabledAction$CheckBox.isPreferencesSelected() leads to calling EditorActionUtilities.getGlobalPreferences() which is slow since it reads from MimeLookup. I have added the call into editor's warmup.
Integrated into 'main-golden', will be available in build *201206080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
User: Miloslav Metelka <email@example.com>
Log: #197710 - LowPerformance took 3139 ms - slow EditorActionUtilities.getGlobalPreferences().