forked from facebook/folly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: getdeps windows file copy is very slow, speed it up Test Plan: Fetch ``` rm -rf z:/installed/perl-* # z:/build/perl-* z:/extracted/perl-* time python ./build/fbcode_builder/getdeps.py fetch perl ``` Before, 40s: ``` Building on {distro=None, distro_vers=10, fb=off, fbsource=off, os=windows, shared_libs=off, test=on} Assessing perl... Installing Z:\extracted\perl-strawberry-perl-5.28.1.1-64bit-portable.zip\perl -> Z:\installed\perl-DRGAS42y_YT9hZddELBr4c7ZE50hkZy1Cybn7PLzwFc real 0m40.150s user 0m0.000s sys 0m0.000s ``` After, 2s: ``` $ rm -rf z:/installed/perl-* $ time python ./build/fbcode_builder/getdeps.py build perl Building on {distro=None, distro_vers=10, fb=off, fbsource=off, os=windows, shared_libs=off, test=on} Assessing perl... Installing Z:\extracted\perl-strawberry-perl-5.28.1.1-64bit-portable.zip\perl -> Z:\installed\perl-DRGAS42y_YT9hZddELBr4c7ZE50hkZy1Cybn7PLzwFc --- + robocopy.exe \ + 'Z:\extracted\perl-strawberry-perl-5.28.1.1-64bit-portable.zip\perl' \ + 'Z:\installed\perl-DRGAS42y_YT9hZddELBr4c7ZE50hkZy1Cybn7PLzwFc' \ + /E \ + /XX \ + /MT \ + /NFL \ + /NDL \ + /NJH \ + /NJS \ + /NP real 0m2.107s user 0m0.000s sys 0m0.000s ```
- Loading branch information
Showing
3 changed files
with
31 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters