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.
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
Created attachment 136381 [details] nps snapshot
the variable was a hashmap containing about 10000 entries btw
The Swing execution is simply slow. IMHO this can not be fixed. javax.swing.text.BoxView.setSpanOnAxis() takes 25,640 ms
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); } hm.size(); The tooltip on "hm" takes a long time to display.
Fixed by changeset: 260037:8cf1423fda58 http://hg.netbeans.org/core-main/rev/8cf1423fda58
Integrated into 'main-silver', will be available in build *201307262300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/8cf1423fda58 User: mentlicher@netbeans.org Log: #231907: Truncate the tooltip to a size that Swing can handle.