Skip to content

[Windows build perf] FindAotCompiler takes too long #19512

@emaf

Description

@emaf

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

Build Logs

Binlogs.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    msbuildIssues affecting our msbuild tasks/targetsperformanceIf an issue or pull request is related to performancewindows-onlyThe issue only occur on Windows

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions