Add --jobs 0 for git submodule update (#61152) #61311
Closed
Conversation
|
This pull request was exported from Phabricator. Differential Revision: D29560875 |
driazati
approved these changes
Jul 6, 2021
This pull request was exported from Phabricator. Differential Revision: D29560875 |
Summary: Pull Request resolved: pytorch#61311 Pull Request resolved: pytorch#61152 Some related docs about `submodule.fetchJobs` https://git-scm.com/docs/git-config#Documentation/git-config.txt-submodulefetchJobs ``` time git submodule update --init --recursive ________________________________________________________ Executed in 243.20 secs fish external usr time 49.64 secs 213.00 micros 49.64 secs sys time 29.27 secs 795.00 micros 29.27 secs ``` ``` time git submodule update --init --recursive --jobs 4 ________________________________________________________ Executed in 143.04 secs fish external usr time 51.06 secs 246.00 micros 51.06 secs sys time 30.96 secs 742.00 micros 30.96 secs ``` ``` time git submodule update --init --recursive --jobs 8 ________________________________________________________ Executed in 124.64 secs fish external usr time 51.76 secs 264.00 micros 51.76 secs sys time 30.49 secs 739.00 micros 30.49 secs ``` ``` time git submodule update --init --recursive --jobs 0 # use all online cpus ________________________________________________________ Executed in 129.75 secs fish external usr time 51.64 secs 181.00 micros 51.64 secs sys time 31.49 secs 781.00 micros 31.49 secs ``` Test Plan: Imported from OSS Reviewed By: 1ntEgr8 Differential Revision: D29560875 Pulled By: zhouzhuojie fbshipit-source-id: 60180e7b8478a04e1df777f6f20a0590df8959c5
This pull request was exported from Phabricator. Differential Revision: D29560875 |
@zhouzhuojie merged this pull request in 6107cf3. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Summary:
Pull Request resolved: #61152
Some related docs about
submodule.fetchJobs
https://git-scm.com/docs/git-config#Documentation/git-config.txt-submodulefetchJobs
Test Plan: Imported from OSS
Differential Revision: D29560875
Pulled By: zhouzhuojie
The text was updated successfully, but these errors were encountered: