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 222975 - org.netbeans.modules.parsing.impl.indexing.CacheFolder.getCacheFolder: LowPerformance took 24520 ms.
Summary: org.netbeans.modules.parsing.impl.indexing.CacheFolder.getCacheFolder: LowPer...
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Parsing & Indexing (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2012-11-29 13:15 UTC by Exceptions Reporter
Modified: 2012-12-05 02:57 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 165686


Attachments
nps snapshot (37.15 KB, application/nps)
2012-11-29 13:15 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2012-11-29 13:15:10 UTC
Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: Java HotSpot(TM) Client VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147
OS: Windows 7

User Comments:
PeteClimbs: Typing class methods.



Maximum slowness yet reported was 24520 ms, average is 10785
Comment 1 Exceptions Reporter 2012-11-29 13:15:12 UTC
Created attachment 128579 [details]
nps snapshot
Comment 2 Tomas Zezula 2012-12-04 12:16:43 UTC
In fact invalid report, OS problem.
The 24 seconds is spent  in single call of WinNTFileSystem.getBooleanAttributes() which is Win32 equivalent UNIX fstat, but much slower :-)

I can try to remove the critical section however it will probably block in WinNTFileSystem.getBooleanAttributes() later on.
Comment 3 Tomas Zezula 2012-12-04 12:30:31 UTC
Fixed jet-main 0426266848bd
Comment 4 Quality Engineering 2012-12-05 02:57:10 UTC
Integrated into 'main-golden', will be available in build *201212050001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/0426266848bd
User: Tomas Zezula <tzezula@netbeans.org>
Log: #222975:org.netbeans.modules.parsing.impl.indexing.CacheFolder.getCacheFolder: LowPerformance took 24520 ms