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 267278 - org.netbeans.modules.mercurial.util.HgCommand.exec: LowPerformance took 10876 ms.
Summary: org.netbeans.modules.mercurial.util.HgCommand.exec: LowPerformance took 10876...
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: markiewb
URL:
Keywords: PERFORMANCE
Depends on:
Blocks:
 
Reported: 2016-07-24 11:10 UTC by markiewb
Modified: 2016-08-04 20:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 225386


Attachments
nps snapshot (49.75 KB, application/nps)
2016-07-24 11:10 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
Description markiewb 2016-07-24 11:10:23 UTC
This bug was originally marked as duplicate of bug 233358, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.71-b15, Java(TM) SE Runtime Environment, 1.8.0_71-b15
OS: Windows 7

User Comments:
markiewb: Close unmodified



Maximum slowness yet reported was 10876 ms, average is 10876
Comment 1 markiewb 2016-07-24 11:10:25 UTC
Created attachment 161403 [details]
nps snapshot
Comment 2 Ondrej Vrabec 2016-07-25 06:40:40 UTC
You should switch this to an async call (outside of EDT):
de.markiewb.netbeans.plugins.git.closeunmodifieddocuments.CloseUnmodifiedFilesAction.getUnchangedDocuments()
Comment 4 markiewb 2016-08-04 20:41:33 UTC
Fixed in https://github.com/markiewb/nb-git-close-unmodified-documents/releases/tag/v2.1.0

I will upload a new version for the plugin center too.