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 thurka. It already has 1 duplicates Build: NetBeans IDE 7.0 Beta (Build 201011152355) VM: Java HotSpot(TM) Client VM, 17.0-b17, Java(TM) SE Runtime Environment, 1.6.0_21-b07 OS: Windows XP Maximum slowness yet reported was 43234 ms, average is 43234
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.