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.
Summary: | LowPerformance took 43234 ms. | ||
---|---|---|---|
Product: | java | Reporter: | Exceptions Reporter <exceptions_reporter> |
Component: | Refactoring | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | thurka |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 179267 |
Attachments: | nps snapshot |
Description
Exceptions Reporter
2011-06-09 15:33:13 UTC
Created attachment 108825 [details]
nps snapshot
RetoucheUtils.isJavaFile() uses mime-type to find out that the file is java file. This can be slow for some non-java files, since detecting mime-type requires to read bytes from a file. It can be fixed using FileUtil.getMimeType(fo, JAVA_MT) Fixed jet-main 4f0d2a9afb04 Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/4f0d2a9afb04 User: Tomas Zezula <tzezula@netbeans.org> Log: #199315:LowPerformance took 43234 ms. |