Skip to content

Potential perf improvement for Native AOT runtime tests #94102

@agocke

Description

@agocke

I was doing some investigation of the latest runtime-nativeaot-outerloop test runs and noticed that the coreclr tests spent a fair amount of time in the findvcvarsall.bat script.

Looking at a binlog...
image

That SetupOSSpecificProps looks like it's running findvcvarsall, and it's taking ~51 minutes of CPU time. I wonder if we could avoid this by just running the script once and then passing down the relevant variables.

Metadata

Metadata

Assignees

Labels

area-NativeAOT-coreclrin-prThere is an active PR which will close this issue when it is merged

Type

No type

Projects

Status

No status

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions