WindowSystemPersistenceSimplified

Revision as of 15:33, 27 March 2013 by Saubrecht (Talk | contribs)

Issue 227672 shows that persistence of window system is significantly slowing down the start of NetBeans IDE. According to attachment of Issue 227672:

  • It takes 9.5s to load the whole system and show main window
  • There is 4.7s between main window initialized and window system loaded messages
  • It takes more than 1.5s to show the main window.

How can the time be improved.

Better Deserialization

Why six CloneableTopComponents needs to be loaded! Probably only one of them was visible. Modify the system to deserialize only visible components.


About 4s is spend in XMLSettingsSupport.realSerial. Replacing deserialization with @ConvertAsProperties would improve the time.

SA: Almost all editors are deserialized to fill 'recent view list' for Ctrl+Tab switcher. Should be easily fixable.

Less Classloading in EDT

  • editor.impl.StatusLineFactories$LineColumn.getStatusLineElement() - 335 ms
  • ProgressVisualizerProvider.getStatusLineElement() 231 ms
Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo