dotnet / dotnet/macios

[Windows build perf] FindAotCompiler takes too long

Open
#19,512 1 comment 0 reactions 0 assignees View on GitHub
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:

![image](https://github.com/xamarin/xamarin-macios/assets/3286258/233405cd-aa8d-4106-831c-6c11d6748718)

### 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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.