summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit/.settings
diff options
context:
space:
mode:
authorMatthias Sohn <matthias.sohn@sap.com>2023-01-19 01:46:50 +0100
committerMatthias Sohn <matthias.sohn@sap.com>2023-02-27 16:41:33 -0500
commit2d0b9080488239018908c7712dc440461991907a (patch)
treeafaf4e2b98c2fc82b6b5cad8df6c7a53feefca86 /org.eclipse.jgit/.settings
parentca2c57b2ec5400db9c9446056b001a83adc5ccd8 (diff)
downloadjgit-2d0b9080488239018908c7712dc440461991907a.tar.gz
jgit-2d0b9080488239018908c7712dc440461991907a.zip
BatchingProgressMonitor: expose time spent per task
Display elapsed time per task if enabled via ProgressMonitor#showDuration or if system property or environment variable GIT_TRACE_PERFORMANCE is set to "true". If both the system property and the environment variable are set the system property takes precedence. E.g. using jgit CLI: $ GIT_TRACE_PERFORMANCE=true jgit clone https://foo.bar/foobar Cloning into 'foobar'... remote: Counting objects: 1 [0.002s] remote: Finding sources: 100% (15531/15531) [0.006s] Receiving objects: 100% (169737/169737) [13.045s] Resolving deltas: 100% (67579/67579) [1.842s] Change-Id: I4d624e7858b286aeddbe7d4e557589986d73659e
Diffstat (limited to 'org.eclipse.jgit/.settings')
-rw-r--r--org.eclipse.jgit/.settings/.api_filters84
1 files changed, 84 insertions, 0 deletions
diff --git a/org.eclipse.jgit/.settings/.api_filters b/org.eclipse.jgit/.settings/.api_filters
index bc4e9ea1c6..e215f7aa3f 100644
--- a/org.eclipse.jgit/.settings/.api_filters
+++ b/org.eclipse.jgit/.settings/.api_filters
@@ -1,5 +1,55 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<component id="org.eclipse.jgit" version="2">
+ <resource path="src/org/eclipse/jgit/lib/BatchingProgressMonitor.java" type="org.eclipse.jgit.lib.BatchingProgressMonitor">
+ <filter id="336695337">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.BatchingProgressMonitor"/>
+ <message_argument value="onEndTask(String, int, Duration)"/>
+ </message_arguments>
+ </filter>
+ <filter id="336695337">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.BatchingProgressMonitor"/>
+ <message_argument value="onEndTask(String, int, int, int, Duration)"/>
+ </message_arguments>
+ </filter>
+ <filter id="336695337">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.BatchingProgressMonitor"/>
+ <message_argument value="onUpdate(String, int, Duration)"/>
+ </message_arguments>
+ </filter>
+ <filter id="336695337">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.BatchingProgressMonitor"/>
+ <message_argument value="onUpdate(String, int, int, int, Duration)"/>
+ </message_arguments>
+ </filter>
+ <filter id="338792546">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.BatchingProgressMonitor"/>
+ <message_argument value="onEndTask(String, int)"/>
+ </message_arguments>
+ </filter>
+ <filter id="338792546">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.BatchingProgressMonitor"/>
+ <message_argument value="onEndTask(String, int, int, int)"/>
+ </message_arguments>
+ </filter>
+ <filter id="338792546">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.BatchingProgressMonitor"/>
+ <message_argument value="onUpdate(String, int)"/>
+ </message_arguments>
+ </filter>
+ <filter id="338792546">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.BatchingProgressMonitor"/>
+ <message_argument value="onUpdate(String, int, int, int)"/>
+ </message_arguments>
+ </filter>
+ </resource>
<resource path="src/org/eclipse/jgit/lib/ConfigConstants.java" type="org.eclipse.jgit.lib.ConfigConstants">
<filter id="1142947843">
<message_arguments>
@@ -42,6 +92,14 @@
</message_arguments>
</filter>
</resource>
+ <resource path="src/org/eclipse/jgit/lib/ProgressMonitor.java" type="org.eclipse.jgit.lib.ProgressMonitor">
+ <filter id="403804204">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.ProgressMonitor"/>
+ <message_argument value="showDuration(boolean)"/>
+ </message_arguments>
+ </filter>
+ </resource>
<resource path="src/org/eclipse/jgit/lib/RefDatabase.java" type="org.eclipse.jgit.lib.RefDatabase">
<filter id="336658481">
<message_arguments>
@@ -58,6 +116,32 @@
</message_arguments>
</filter>
</resource>
+ <resource path="src/org/eclipse/jgit/lib/TextProgressMonitor.java" type="org.eclipse.jgit.lib.TextProgressMonitor">
+ <filter id="338792546">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.TextProgressMonitor"/>
+ <message_argument value="onEndTask(String, int)"/>
+ </message_arguments>
+ </filter>
+ <filter id="338792546">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.TextProgressMonitor"/>
+ <message_argument value="onEndTask(String, int, int, int)"/>
+ </message_arguments>
+ </filter>
+ <filter id="338792546">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.TextProgressMonitor"/>
+ <message_argument value="onUpdate(String, int)"/>
+ </message_arguments>
+ </filter>
+ <filter id="338792546">
+ <message_arguments>
+ <message_argument value="org.eclipse.jgit.lib.TextProgressMonitor"/>
+ <message_argument value="onUpdate(String, int, int, int)"/>
+ </message_arguments>
+ </filter>
+ </resource>
<resource path="src/org/eclipse/jgit/storage/pack/PackConfig.java" type="org.eclipse.jgit.storage.pack.PackConfig">
<filter id="336658481">
<message_arguments>