Descriptiongyp performance: Load detect_host_arch directly.
We ran "python detect_host_arch.py" ~15 times from gyp. Run
detect_host_arch.py directly from from within gyp for faster execution
and since the path is no longer part of the command, the result will
also be cached more often.
The total gain is at best 0.3 seconds. For most people it will be less.
BUG=362075
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275361
Patch Set 1 #
Total comments: 2
Patch Set 2 : detect_host_arch: Changed an argument name to _ #Patch Set 3 : detect_host_arch: Rebased to newer master #Patch Set 4 : binutils using the file as well #
Messages
Total messages: 9 (0 generated)
|