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.
Can you modify profiler to not do anything on startup until the user really invokes one of the profiler actions? At least do not start any own threads, do not load settings, possibly use org.openide.Actions.alwaysEnabled XML layer declaration to prevent actions from your module being loaded, please remove your ModuleInstall and do the initialization lazily when needed, etc. I am attaching one stack trace that I got on startup which shows that the start time is wasted in initialization of ProfilerManager. Please eliminate this initialization.
Created attachment 64872 [details] Thread dump showing the profiler initialization
*** Issue 140575 has been marked as a duplicate of this issue. ***
Will try to at least improve it a bit for 6.5.
Will need a more thorough redesign of the profiler infrastructure. Definitely it's too late to introduce such a change now. Hopefully, there will be some time to be spent on this in the next release.
This seems to have been resolved during the process of profiler modularization (preparation for NetBeans/JDev common profiler)