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 239743 - org.openide.explorer.propertysheet.CustomEditorAction.actionPerformed: LowPerformance took 60033 ms.
Summary: org.openide.explorer.propertysheet.CustomEditorAction.actionPerformed: LowPer...
Status: RESOLVED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2013-12-23 17:24 UTC by ecrane57
Modified: 2016-06-30 01:51 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 160016


Attachments
nps snapshot (274.87 KB, application/nps)
2013-12-23 17:24 UTC, ecrane57
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecrane57 2013-12-23 17:24:37 UTC
Build: NetBeans IDE 7.4 (Build 201310111528)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows 7

User Comments:
kosmonaFFFt: Create new project with existing sources (CMake based)...

ecrane57: Manipulation of a very long string in the Value viewer in the Variables tab of the debug tool.



Maximum slowness yet reported was 60033 ms, average is 22313
Comment 1 ecrane57 2013-12-23 17:24:42 UTC
Created attachment 143410 [details]
nps snapshot
Comment 2 Jan Peska 2014-01-03 08:49:24 UTC
reassigning to proper component
Comment 3 Stanislav Aubrecht 2014-01-06 10:28:18 UTC
The slowness is in Swing code because the text being displayed is too long.

The debugger should probably limit the display of very long values, reassigning.
Comment 4 Martin Entlicher 2014-01-14 07:13:49 UTC
The only debugger that is running is PHP debugger.
Comment 5 Tomas Mysik 2016-06-29 06:47:49 UTC
Should be fixed now, the values are shortened to 2000 characters.

Shortening of values can be avoided completely (system property "nb.php.debugger.full.values" set to "true") or a different max value length can be set (system property "nb.php.debugger.full.value.length", must be >= 10).

Thanks.

http://hg.netbeans.org/web-main/rev/b0316af3343d
Comment 6 Tomas Mysik 2016-06-29 06:56:30 UTC
Shortened value is better documented.

http://hg.netbeans.org/web-main/rev/585ca786bce9
Comment 7 Quality Engineering 2016-06-30 01:51:53 UTC
Integrated into 'main-silver', will be available in build *201606300002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b0316af3343d
User: Tomas Mysik <tmysik@netbeans.org>
Log: #239743 - org.openide.explorer.propertysheet.CustomEditorAction.actionPerformed: LowPerformance took 60033 ms.

Shortening of values can be avoided completed (system property "nb.php.debugger.full.values")
or different max value length can be set (system property "nb.php.debugger.full.value.length").