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 212382

Summary: LowPerformance took 5039 ms.
Product: javascript Reporter: Petr Jiricka <pjiricka>
Component: DebuggerAssignee: David Konecny <dkonecny>
Status: RESOLVED FIXED    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 169103
Attachments: nps snapshot

Description Petr Jiricka 2012-05-11 12:33:31 UTC
This issue was reported manually by pjiricka.
It already has 2 duplicates 


Build: NetBeans IDE Dev (Build EaselCSS-167-on-20120511)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b21
OS: Mac OS X

User Comments:
pjiricka: Setting a breakpoint in JavaScript debugger.



Maximum slowness yet reported was 5039 ms, average is 4678
Comment 1 Petr Jiricka 2012-05-11 12:33:37 UTC
Created attachment 119349 [details]
nps snapshot
Comment 2 David Konecny 2012-05-13 23:22:24 UTC
Debugger.addLineBreakpoint is setting sending blocking command to browser in AWT thread. Should probably use callback instead.
Comment 3 David Konecny 2012-05-14 02:37:12 UTC
9b91c01c3b76

It is strange that it should take 5 seconds for your browser to respond to "addBreakpoint" command. I find communication with Chrome *instant* - as fast as embedded WebView. Could you keep an eye on this please and report back if your browser gets frequently slow. If it would help I can log time in WebKit Output window.
Comment 4 Quality Engineering 2012-09-03 13:03:18 UTC
Integrated into 'main-golden', will be available in build *201209031048* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9b91c01c3b76
User: David Konecny <dkonecny@netbeans.org>
Log: #212382 - LowPerformance took 5039 ms.