Skip to content

Conversation

@StephanTLavavej
Copy link
Member

On my 6-core 12-thread machine (Python), this improves the test time for all configurations from 53s to 32s.

For MSVC-internal Contest (Perl), this improves each configuration's test time from (between 1m 30s and 2m 7s) to (approximately 14s).

Previously, I thought that this was impossible because we had to vary the command lines. However, /exportHeader can be given multiple headers simultaneously, they just need to be named with absolute paths instead of angle brackets. We also need to pass /Fo to make it generate object files. (It's possible to control the output directory for object files, by passing it to /Fo with a trailing slash/backslash, and it's possible to control the output directory for IFC files with /ifcOutput, but it appears that this is unnecessary as both of our test harnesses run these commands in the per-configuration output directory that we want.)

🚀 🚀 🚀

On my 6-core 12-thread machine (Python), this improves
the test time for all configurations from 53s to 32s.

For MSVC-internal Contest (Perl), this improves each configuration's
test time from (between 1m 30s and 2m 7s) to (approximately 14s).
@StephanTLavavej StephanTLavavej added the test Related to test code label Dec 11, 2020
@StephanTLavavej StephanTLavavej requested a review from a team as a code owner December 11, 2020 22:12
@StephanTLavavej StephanTLavavej self-assigned this Dec 16, 2020
@StephanTLavavej StephanTLavavej merged commit 04369fc into microsoft:master Dec 17, 2020
@StephanTLavavej StephanTLavavej deleted the parallel_build_of_header_units branch December 17, 2020 01:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

test Related to test code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants