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 231907 - org.netbeans.editor.PopupManager.computeBounds: LowPerformance took 25769 ms.
Summary: org.netbeans.editor.PopupManager.computeBounds: LowPerformance took 25769 ms.
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
Depends on:
Reported: 2013-06-27 08:56 UTC by Ondrej Vrabec
Modified: 2013-07-27 02:20 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 201725

nps snapshot (126.58 KB, application/nps)
2013-06-27 08:56 UTC, Ondrej Vrabec

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Vrabec 2013-06-27 08:56:36 UTC
This issue was reported manually by ovrabec.
It already has 1 duplicates 

Build: NetBeans IDE Dev (Build 20130626-bb271d0060c3)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b15
OS: Linux

User Comments:
ovrabec: mouse hovered over a variable in order to see its value in the tooltip window

Maximum slowness yet reported was 25769 ms, average is 25769
Comment 1 Ondrej Vrabec 2013-06-27 08:56:39 UTC
Created attachment 136381 [details]
nps snapshot
Comment 2 Ondrej Vrabec 2013-06-27 08:58:56 UTC
the variable was a hashmap containing about 10000 entries btw
Comment 3 Martin Entlicher 2013-07-25 12:25:39 UTC
The Swing execution is simply slow. IMHO this can not be fixed.
javax.swing.text.BoxView.setSpanOnAxis() takes 25,640 ms
Comment 4 Martin Entlicher 2013-07-25 14:24:00 UTC
Reopening. I was able to reproduce this with a large HashMap. Like:

        HashMap hm = new HashMap();
        int n = 100000;
        for (int i = 0; i < n; i++) {
            hm.put("i = "+i, i);

The tooltip on "hm" takes a long time to display.
Comment 5 Martin Entlicher 2013-07-26 13:37:06 UTC
Fixed by changeset:   260037:8cf1423fda58
Comment 6 Quality Engineering 2013-07-27 02:20:08 UTC
Integrated into 'main-silver', will be available in build *201307262300* on (upload may still be in progress)

Log: #231907: Truncate the tooltip to a size that Swing can handle.