summaryrefslogtreecommitdiffstats
path: root/.gitignore
diff options
context:
space:
mode:
authorChris McDonald <cjmcdonald@google.com>2020-12-09 14:27:59 -0700
committerMike Frysinger <vapier@google.com>2020-12-14 23:35:12 +0000
commit8add62325dbe4df60cde1af6b093d99e79685140 (patch)
treef9433863c843d5c36f1fe3c26c9f20e94c415ce5 /.gitignore
parent974774761c5d11378b987d6f195bd057b81dba47 (diff)
downloadgit-repo-8add62325dbe4df60cde1af6b093d99e79685140.tar.gz
Add parallelism to 'branches' command
Spread the operation of querying which local branches exist across a pool of processes and build the name map of projects -> branches as these tasks finish rather than blocking on the entire query. The search operations are submitted in batches to reduce the overhead of interprocess communication. The `chunksize` argument used to control this batch size was selected by incrementing through powers of two until it stopped being faster. Change-Id: Ie3d7f799ee8e83e5058536caf53e2979175408b7 Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/291342 Tested-by: Chris Mcdonald <cjmcdonald@google.com> Reviewed-by: Mike Frysinger <vapier@google.com>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e9b04dc7..4e91be94 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,7 @@ __pycache__
7.repopickle_* 7.repopickle_*
8/repoc 8/repoc
9/.tox 9/.tox
10/.venv
10 11
11# PyCharm related 12# PyCharm related
12/.idea/ 13/.idea/