[Windows build perf] FindAotCompiler takes too long
Open
msbuild
performance
windows-only
- Dominant language
- C#
- Stars
- 2.9k
- Forks
- 576
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 108
Description
When building from Windows, `FindAotCompiler` sometimes takes aroung 10 seconds to calculate the AOT compile path (if the info is not already cached). It is a bit weird because restoring and running a target should not take that long.
For instance, in this log you can see it took 10.272s in total, and remoting a task takes around 200ms, so the executing itself took around 10 seconds:

### Build Logs
[Binlogs.zip](https://github.com/xamarin/xamarin-macios/files/13444831/Binlogs.zip)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.