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.
First open takes longer then 1 second, which violates UI responsiveness rules. I will cooperate and help with speedup. I'll try to identify time-consuming places using optimizing tools, ask you for further information, perhaps I will attach some patches. See measured numbers here: http://performance.netbeans.org/reports/20020919-dialog-numbers.txt
I provide "QA measurement", on Solaris 5.8 JDK1.4.0(02) [nb_dev](20021015) Steps to measure: - run IDE with new empty userdir (welcome screen is opened) - Tools | Setup Wizard -> measure last paint event before Setup Wizard paint finish M1 - push Next (Module Instalation pane) -> measure last paint event before Setup Wizard paint finish M2 - push Next (Update Center pane) -> measure last paint event before Setup Wizard paint finish M3 M1=3701,3781,3518 ms M2=1543,1551,1513 ms M3=331,426,387 ms if I do something on IDE before openening Setup Wizard (open FS customizer, open Tools | Keyboard ShortCut, ...) M1=2668,2546 ms M2=1505,1259 ms M3=321,288 ms
Attached is output from OptimizeIt, instrumentation method, measured from start of action to first complete paint of wizard. (don't pay attention to time numbers, they're not real, just percentage is real) Main bottlenecks: 1) Loading of html engine 20.39 % - 1603 ms - 1 inv. - org.netbeans.core.ui.IDESettingsPanel.initializePanel() 10.8 % - 849 ms - 1 inv. - org.netbeans.core.IDESettings.getWWWBrowser() 8.17 % - 642 ms - 1 inv. - org.netbeans.beaninfo.editors.HtmlBrowser$FactoryEditor.getTags() 2) Unnecessary loading of autoupdate wizard panel: 22.75 % - 1788 ms - 3 inv. - org.openide.loaders.InstanceSupport.instanceCreate() 11.28 % - 887 ms - 1 inv. - org.netbeans.core.ui.IDESettingsPanel.<init>() 10.7 % - 841 ms - 1 inv. - org.netbeans.modules.autoupdate.SetupPanel.<init>() 3) Why such amount of work with Folder and Data objects? 8.14 % - 640 ms - 6 inv. - org.netbeans.core.ui.SetupWizard.acceptDataObject()
Created attachment 7707 [details] output from optimization tool
I have filed new issue about speed up of Shortcuts wizard , see issue 28043. Marian's measurement (time in milliseconds): conditions: - SUN UltraSparc60 / 512 MB RAM / Solaris 5.8 / CDE - JDK1.4.1(01) - [nb_dev](200211140100) , MDI - mounted sampledir Open Setup Wizard 2411 352 486 Setup Wizard is mesaured by QA test infrastructure on daily builds. Test cases described on page : http://performance.netbeans.org/qa/TestSuites.html#opening_Setup_wizard
passing to Jiri. Please update to dialogs component once it is available.
Oops, my failure, I'm already working on this - taking back, sorry.
marked as STARTED - we already know how to fix. Solution will need small open API change and will be used as pattern for fixing other dialogs & wizards.
lowering priority, Setup Wizard isn't heavily used wizard.
Then how much will be opening of Setup Wizard dialog improved with this API? Related to others dialogs: I recommend to use wait(busy) cursor for opening all dialogs even if that opening is fast.
Fix integrated with help of infrastructure in #30604. Now both images in general settings panel are loaded asynchronously, combo box containing browsers is also fed up asynchronously. UI impact is that both images and combo box content is visible little later, but it is almost unnoticeable in reality. I measured speedup approx. 20-25%