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 38446 ms. | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | rosswald |
Component: | Git | Assignee: | Ondrej Vrabec <ovrabec> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | git |
Priority: | P3 | Keywords: | PERFORMANCE |
Version: | 7.0 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | 177564 |
Attachments: | nps snapshot |
Description
rosswald
2011-03-14 22:48:20 UTC
Created attachment 106994 [details]
nps snapshot
Looking at the snapshot, it seems that the git support access IO for a bunch of folders through FileStatusCache.containsFiles()->FileStatusCache.getStatus() - this should be eliminated, the folders are not interesting in the scope of containsFiles and listFiles(), git does not track folders. So calling getInfo() instead of getStatus() should be sufficient, information about files should be stored in cache anyway, so there's no need to involve isIgnored logic and sharability query. Integrated into 'main-golden', will be available in build *201103160400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2fbff6e671c4 User: Ondrej Vrabec <ovrabec@netbeans.org> Log: call fast getInfo instead of slower getStatus Issue #196702 - LowPerformance took 38446 ms. |