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 200558 - 9s - spi.debugger.ui.EditorContextDispatcher$EditorLookupListener.propertyChange()
Summary: 9s - spi.debugger.ui.EditorContextDispatcher$EditorLookupListener.propertyCha...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2011-08-01 01:48 UTC by liuw
Modified: 2011-08-18 13:50 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 179439


Attachments
nps snapshot (37.69 KB, application/nps)
2011-08-01 01:48 UTC, liuw
Details

Note You need to log in before you can comment on or make changes to this bug.
Description liuw 2011-08-01 01:48:21 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-7541-on-20110716)
VM: Java HotSpot(TM) Client VM, 19.0-b09, Java(TM) SE Runtime Environment, 1.6.0_23-b05
OS: Windows 7

User Comments:
liuw: open a php file, then scroll down the page.



Maximum slowness yet reported was 9569 ms, average is 4377
Comment 1 liuw 2011-08-01 01:48:27 UTC
Created attachment 109721 [details]
nps snapshot
Comment 2 Jaroslav Tulach 2011-08-01 05:52:26 UTC
getMIMEType() is not fast, especially not on remote file systems. If you can move the MIME type query outside of AWT, responsibility will be improved.
Comment 3 Martin Entlicher 2011-08-17 13:55:43 UTC
Fixed by changeset:   199200:cc2b6ad14a10.
http://hg.netbeans.org/main/rev/cc2b6ad14a10
Comment 4 Quality Engineering 2011-08-18 13:50:45 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/cc2b6ad14a10
User: mentlicher@netbeans.org
Log: #200558: Do not call FileObject.getMIMEType() in AWT.