Skip to content

Conversation

@jakobbotsch
Copy link
Member

cc @dotnet/jit-contrib

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Nov 19, 2024
@dotnet-policy-service
Copy link
Contributor

Tagging subscribers to this area: @JulieLeeMSFT, @jakobbotsch
See info in area-owners.md if you want to be subscribed.

@jakobbotsch

This comment was marked as outdated.

@jakobbotsch
Copy link
Member Author

Not really sure why it's failing.. I cannot reproduce the failure locally.

@jakobbotsch
Copy link
Member Author

/azp run runtime-coreclr superpmi-collect-test

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

env_copy["NUGET_EXPERIMENTAL_CHAIN_BUILD_RETRY_POLICY"] = "9,2000"

# If `dotnet restore` fails, retry.
tfm = "net9.0"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Another option is to turn it into superpmi_benchmarks.py.template with markers like {TargetFramework} which some .proj would replace at build time to generate the real superpmi_benchmarks.py somewhere under artificats/obj. linker testing uses that mechanism to avoid updating the files each time the TFM version is bumped:

<WriteLinesToFile File="$(_projectFile)"

template:
<Project Sdk="Microsoft.NET.Sdk">

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's a good idea, but a bit more work than I'd like to take on here -- I opened #110043 about it

@jakobbotsch
Copy link
Member Author

/azp run runtime-coreclr superpmi-collect-test

@dotnet dotnet deleted a comment from azure-pipelines bot Nov 25, 2024
@dotnet dotnet deleted a comment from azure-pipelines bot Nov 25, 2024
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@dotnet dotnet deleted a comment from azure-pipelines bot Nov 25, 2024
@dotnet dotnet deleted a comment from azure-pipelines bot Nov 25, 2024
@dotnet dotnet deleted a comment from azure-pipelines bot Nov 25, 2024
@dotnet dotnet deleted a comment from azure-pipelines bot Nov 25, 2024
@jakobbotsch
Copy link
Member Author

/azp run runtime-coreclr superpmi-collect-test

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jakobbotsch
Copy link
Member Author

It looks like the fix here was to set PERFLAB_TARGET_FRAMEWORKS to the TFM we want to restore/build for.

Looks like a small bug when collect does it replay also snuck in with #109481, so I also pushed a fix for that. Hopefully this should be the last superpmi-collect-test run...

@jakobbotsch
Copy link
Member Author

/azp run runtime-coreclr superpmi-collect-test

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@jakobbotsch jakobbotsch marked this pull request as ready for review November 26, 2024 14:10
@jakobbotsch jakobbotsch merged commit b4923b3 into dotnet:main Nov 26, 2024
159 of 164 checks passed
@jakobbotsch jakobbotsch deleted the spmi-benchmarks-9.0 branch November 26, 2024 16:15
mikelle-rogers pushed a commit to mikelle-rogers/runtime that referenced this pull request Dec 10, 2024
…9992)

Also set PERFLAB_TARGET_FRAMEWORKS and fix superpmi.py when it replays during a collection.
@github-actions github-actions bot locked and limited conversation to collaborators Dec 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants