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 176550 - Font metrics is slow
Summary: Font metrics is slow
Status: CLOSED WORKSFORME
Alias: None
Product: ide
Classification: Unclassified
Component: Performance (show other bugs)
Version: 3.x
Hardware: All All
: P3 normal (vote)
Assignee: issues@performance
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2009-11-11 08:35 UTC by Exceptions Reporter
Modified: 2011-05-25 11:39 UTC (History)
14 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 161839


Attachments
nps snapshot (256.00 KB, application/nps)
2009-11-11 08:35 UTC, Exceptions Reporter
Details
nps snapshot (256.00 KB, application/nps)
2009-11-11 12:54 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2009-11-11 08:35:49 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-4199-on-091103)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows XP, 5.1, x86

User Comments:
_m4c0_: clicking "stop" on a output window opened by running a "jetty:run" goal on an mvn project

jpokorsky: Clicking Diff link in Summary view of NbEditorKit.java.

GUEST: I only have tragged a woodstock component into the design-panel


Maximum slowness yet reported was 62013 ms, average is 20183
Comment 1 Exceptions Reporter 2009-11-11 08:35:54 UTC
Created attachment 90814 [details]
nps snapshot
Comment 2 Exceptions Reporter 2009-11-11 09:26:51 UTC
This issue already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=161839
Comment 3 misterm 2009-11-11 12:54:59 UTC
Created attachment 90843 [details]
nps snapshot
Comment 4 Exceptions Reporter 2009-11-11 12:55:05 UTC
This issue already has 7 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=161839
Comment 5 Exceptions Reporter 2009-11-13 02:53:37 UTC
This issue already has 11 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=161839
Comment 6 Exceptions Reporter 2009-11-13 15:39:45 UTC
This issue already has 14 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=161839
Comment 7 Exceptions Reporter 2009-11-22 09:38:49 UTC
This bug already has 50 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=161839
Comment 8 Jaroslav Tulach 2009-11-23 02:16:08 UTC
There are several types of problems and this issue needs to be split into multiple reports:

Font metrics:
http://statistics.netbeans.org/exceptions/exception.do?id=305754
http://statistics.netbeans.org/exceptions/exception.do?id=305593
http://statistics.netbeans.org/exceptions/exception.do?id=305409
http://statistics.netbeans.org/exceptions/exception.do?id=304881
http://statistics.netbeans.org/exceptions/exception.do?id=304576
http://statistics.netbeans.org/exceptions/exception.do?id=303573
http://statistics.netbeans.org/exceptions/exception.do?id=303119
http://statistics.netbeans.org/exceptions/exception.do?id=302887
http://statistics.netbeans.org/exceptions/exception.do?id=302885
http://statistics.netbeans.org/exceptions/exception.do?id=302105
http://statistics.netbeans.org/exceptions/exception.do?id=299729
http://statistics.netbeans.org/exceptions/exception.do?id=299561

GTK paint:
http://statistics.netbeans.org/exceptions/exception.do?id=305469
http://statistics.netbeans.org/exceptions/exception.do?id=304241
http://statistics.netbeans.org/exceptions/exception.do?id=302918
http://statistics.netbeans.org/exceptions/exception.do?id=298138

sun.java2d.windows.GDIBlitLoops.nativeBlit:
http://statistics.netbeans.org/exceptions/exception.do?id=305597
http://statistics.netbeans.org/exceptions/exception.do?id=305000
http://statistics.netbeans.org/exceptions/exception.do?id=303304
http://statistics.netbeans.org/exceptions/exception.do?id=301918
http://statistics.netbeans.org/exceptions/exception.do?id=301894
http://statistics.netbeans.org/exceptions/exception.do?id=301007
http://statistics.netbeans.org/exceptions/exception.do?id=298381

Windows.DesktopProperty.updateAllUIs();
http://statistics.netbeans.org/exceptions/exception.do?id=305351

Maven SourcePanel.availableCharsets:
http://statistics.netbeans.org/exceptions/exception.do?id=303878

MavenCommandLineExecutor.kill:
http://statistics.netbeans.org/exceptions/exception.do?id=303542
http://statistics.netbeans.org/exceptions/exception.do?id=300105
http://statistics.netbeans.org/exceptions/exception.do?id=298156

org.netbeans.modules.gsf.codecoverage.CoverageAction:
http://statistics.netbeans.org/exceptions/exception.do?id=303706

sun.awt.X11.XInputMethod.createXICNative[native]()
http://statistics.netbeans.org/exceptions/exception.do?id=303232

InsertUnicode:
http://statistics.netbeans.org/exceptions/exception.do?id=305953

Repainting on mac:
http://statistics.netbeans.org/exceptions/exception.do?id=306195
http://statistics.netbeans.org/exceptions/exception.do?id=299646
http://statistics.netbeans.org/exceptions/exception.do?id=298340
http://statistics.netbeans.org/exceptions/exception.do?id=298244

JavaFX, prevewImagePanel:
http://statistics.netbeans.org/exceptions/exception.do?id=305154

Html View Painting:
http://statistics.netbeans.org/exceptions/exception.do?id=304874
http://statistics.netbeans.org/exceptions/exception.do?id=299543

loading a file from default package:
http://statistics.netbeans.org/exceptions/exception.do?id=302277

WinNT.booleanAttributes:
http://statistics.netbeans.org/exceptions/exception.do?id=301021

org.enclojure.ide.nb.actions.RunProjectWithReplContextMenuAction:
http://statistics.netbeans.org/exceptions/exception.do?id=298503

visualweb DnD
http://statistics.netbeans.org/exceptions/exception.do?id=298195 (60s)

org.netbeans.modules.mercurial.ui.log.SummaryView (11s):
http://statistics.netbeans.org/exceptions/exception.do?id=298122

Broken:
http://statistics.netbeans.org/exceptions/exception.do?id=304389
http://statistics.netbeans.org/exceptions/exception.do?id=304530
http://statistics.netbeans.org/exceptions/exception.do?id=303366
http://statistics.netbeans.org/exceptions/exception.do?id=303069
http://statistics.netbeans.org/exceptions/exception.do?id=302343
http://statistics.netbeans.org/exceptions/exception.do?id=300413 (obfuscated)
http://statistics.netbeans.org/exceptions/exception.do?id=298552
Comment 9 Jaroslav Tulach 2009-11-23 02:48:56 UTC
bug 169452 for GTK paint
bug 171792 for java2d
bug 177398 for Maven.kill()
bug 171039 for Mac
Comment 10 Jaroslav Tulach 2009-11-23 02:50:22 UTC
Leaving this bug just for the problem with font metrics. To obtain all the font information can be slow and we need a way to preinitialize this outside of AWT thread.
Comment 11 Marian Mirilovic 2011-01-18 13:55:24 UTC
Jarda, no report since last fix ... I think we can close this issue.