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: | HgUtils.isIgnored is very slow | ||
---|---|---|---|
Product: | versioncontrol | Reporter: | Jesse Glick <jglick> |
Component: | Mercurial | Assignee: | issues@versioncontrol <issues> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P3 | Keywords: | PERFORMANCE, THREAD |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | proposed patch |
Description
Jesse Glick
2008-05-13 02:12:19 UTC
I will remove the complained of block of code HgUtils.isIgnored. A large number of the calls to HgUtils.isIgnored are caused by FileStatusCache.getCachedStatus called from MercurialAnnotator.annotateIcon. I believe that FileStatusCache.getCachedStatus should not be calling HgUtils.isIgnored. I have removed this call which seems to have speeded things up. Created attachment 61332 [details]
proposed patch
*** Issue 132835 has been marked as a duplicate of this issue. *** changeset: 79979:8d84c2420554 tag: tip user: padraigob@netbeans.org date: Tue May 13 14:02:46 2008 +0100 summary: 134902: Remove redundant code from HgUtils.isIgnored; Do not call HgUtils.isIgnored in FileStatusCache.getCachedStatus |