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 252185

Summary: org.netbeans.modules.versioning.core.api.VCSFileProxy.exists: LowPerformance took 45181 ms.
Product: versioncontrol Reporter: Exceptions Reporter <exceptions_reporter>
Component: MercurialAssignee: Ondrej Vrabec <ovrabec>
Status: RESOLVED FIXED    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 217049
Attachments: nps snapshot

Description Exceptions Reporter 2015-04-30 15:24:00 UTC
This bug was originally marked as duplicate of bug 244702, 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.0.1 (Build 201408251540)
VM: OpenJDK 64-Bit Server VM, 24.79-b02, OpenJDK Runtime Environment, 1.7.0_79-b14
OS: Linux

User Comments:
GUEST: Al abrir archivo montado en particion linux.
Linux Mint - Nemo - FTP - Netbeans.



Maximum slowness yet reported was 45181 ms, average is 45181
Comment 1 Exceptions Reporter 2015-04-30 15:24:02 UTC
Created attachment 153480 [details]
nps snapshot
Comment 2 Ondrej Vrabec 2015-07-08 15:35:20 UTC
One call to file.exists takes that long. Sorry, i cannot fix this in a reasonable way.
Comment 3 Alexander Simon 2015-09-03 07:57:50 UTC
I see execution in EDT (JavaRunner.execute()) in my report 792042.
It shouldn't be in EDT.
Comment 4 Ondrej Vrabec 2015-09-03 13:36:56 UTC
Alex, i filed is as a separate one: http://statistics.netbeans.org/analytics/detail.do?id=219657
This one contains two reports about slow HgVersioningTopComponent.readExternal(), i'll try to do something about it.
Comment 5 Ondrej Vrabec 2015-09-04 15:28:51 UTC
fix: http://hg.netbeans.org/core-main/rev/d4b96185e937
Comment 6 Quality Engineering 2015-09-05 03:03:35 UTC
Integrated into 'main-silver', will be available in build *201509050002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/d4b96185e937
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #252185 - org.netbeans.modules.versioning.core.api.VCSFileProxy.exists: LowPerformance took 45181 ms.
Initialize context after startup in a background thread.