KEMBAR78
Superpmi on Microbenchmarks by kunalspathak · Pull Request #47900 · dotnet/runtime · GitHub
Skip to content

Conversation

@kunalspathak
Copy link
Contributor

@kunalspathak kunalspathak commented Feb 5, 2021

Perform automated superpmi collection on Microbenchmarks during their execution.

  • Windows x64/x86/arm64
  • Linux x64

Currently, I have disable the collection for Linux arm/arm64 because it needs special handling to perform "dotnet MicroBenchmarks.dll" inside a $TMP folder because during execution of benchmarks, we also perform build of boiler plate code which is not allowed in docker since the directory is readonly.

Contributes to #43227

@ghost ghost added the area-CodeGen-coreclr CLR JIT compiler in src/coreclr/src/jit and related components such as SuperPMI label Feb 5, 2021
@kunalspathak kunalspathak force-pushed the spmi-benchmark branch 2 times, most recently from 09ce331 to eec8463 Compare February 6, 2021 02:19
@JulieLeeMSFT JulieLeeMSFT added this to the 6.0.0 milestone Feb 8, 2021
@kunalspathak
Copy link
Contributor Author

@kunalspathak kunalspathak marked this pull request as ready for review February 12, 2021 21:31
@kunalspathak
Copy link
Contributor Author

@dotnet/jit-contrib

Copy link
Contributor

@BruceForstall BruceForstall left a comment

Choose a reason for hiding this comment

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

LGTM

from os.path import isfile
from shutil import copyfile
from coreclr_arguments import *
from superpmi import ChangeDir, TempDir
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not fond of anyone depending on superpmi.py; it makes it more fragile to change without potentially breaking (unknown) dependents.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I agree. There are few methods in super_setup.py as well that I will extract in a superpmi_utils.py file in a future PR.

@kunalspathak kunalspathak merged commit d4a9b6b into dotnet:master Feb 13, 2021
@ghost ghost locked as resolved and limited conversation to collaborators Mar 15, 2021
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

Archived in project

Development

Successfully merging this pull request may close these issues.

3 participants