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 214960 - LowPerformance took 36920 ms.
Summary: LowPerformance took 36920 ms.
Status: VERIFIED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.1
Hardware: All All
: P4 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-06-29 08:02 UTC by Exceptions Reporter
Modified: 2013-10-13 20:52 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 188141


Attachments
nps snapshot (43.03 KB, application/nps)
2012-06-29 08:02 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-06-29 08:02:37 UTC
Build: NetBeans IDE 7.1.2 (Build 201204101705)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7
Maximum slowness yet reported was 36920 ms, average is 31714
Comment 1 Exceptions Reporter 2012-06-29 08:02:42 UTC
Created attachment 121535 [details]
nps snapshot
Comment 2 Quality Engineering 2012-09-25 02:16:14 UTC
Integrated into 'main-golden', will be available in build *201209250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/63aad2e1cc3e
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: #214960 - Moved "Create file: " to bundle
Comment 3 Ondrej Vrabec 2012-11-08 12:43:26 UTC
org.netbeans.modules.extbrowser.SimpleExtBrowserImpl.setURL(): 15361 / 0 - running external process in AWT
Comment 4 Tomas Mysik 2012-11-08 13:08:28 UTC
Davide, is this yours? If not, please reassign back to me, I can have a look at it.

Thanks.
Comment 5 David Konecny 2012-11-08 23:35:50 UTC
No, sorry, not mine. P4 IMO - problem has always been here I think.
Comment 6 Tomas Mysik 2013-07-17 07:05:11 UTC
The fix could be to run ExtBrowserImpl.loadURLInBrowser(URL) always in a background thread - Davide, do you see any problem with it? Don't you know, please? The only problem I can see is that setting "url" field would usually happen before the url is actually loaded in the browser, see [1] (now, it is synchronous) - no idea whether it would be OK or not.

Thanks.
[1] ExtBrowserImpl.setURL(URL)
Comment 7 David Konecny 2013-07-23 03:22:28 UTC
I would wait and see if we get more reports like this one. HonzaB change code in WebBrowserPane.showURL recently to allow to be called from a background thread.
Comment 8 Tomas Mysik 2013-07-23 07:11:52 UTC
OK, no problem with that.

Honzo, please have a look at comment c#6 - if you think it is safe to do that, let me know. Otherwise we will wait for more reports as David suggests.

Thanks.
Comment 9 Jan Becicka 2013-07-23 11:41:55 UTC
It should be OK for external browsers. Im not sure about embedded WebKit
Comment 10 Tomas Mysik 2013-07-23 12:10:35 UTC
OK, let's wait for another reports and fix it in the next release.

Thanks.
Comment 11 Tomas Mysik 2013-10-08 09:03:13 UTC
One more report from 7.4 RC2, so fixed as written in comment #6. Láďo, please verify.

Thanks.

http://hg.netbeans.org/web-main/rev/a08c8df4c19e
Comment 12 Vladimir Riha 2013-10-11 12:47:45 UTC
I tried to open various browsers on Mac and no problem. I will do the same later on Windows and Ubuntu


Product Version: NetBeans IDE Dev (Build 201310110001)
Java: 1.7.0_45; Java HotSpot(TM) 64-Bit Server VM 24.45-b08
Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18
System: Mac OS X version 10.8.5 running on x86_64; UTF-8; en_US (nb)
Comment 13 Vladimir Riha 2013-10-13 20:52:55 UTC
Verified

Product Version: NetBeans IDE Dev (Build 201310130001)
Java: 1.7.0_40; Java HotSpot(TM) 64-Bit Server VM 24.0-b55
Runtime: Java(TM) SE Runtime Environment 1.7.0_40-b40
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)