Skip to content

Commit

Permalink
[PERF] Enable daily perf runs on cloud VMs (#84203)
Browse files Browse the repository at this point in the history
* Add perf run for cloud VMs

* Ensure x64 is built

* Use non-open queue for internal runs
  • Loading branch information
caaavik-msft committed Apr 3, 2023
1 parent 42687a9 commit e6226e6
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 1 deletion.
22 changes: 21 additions & 1 deletion eng/pipelines/coreclr/perf_slow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ extends:
jobTemplate: /eng/pipelines/common/build-coreclr-and-libraries-job.yml
buildConfig: release
platforms:
- linux_x64
- windows_x64
- linux_arm64
- windows_arm64
jobParameters:
Expand Down Expand Up @@ -217,7 +219,25 @@ extends:
projectFile: microbenchmarks.proj
runKind: micro
runJobTemplate: /eng/pipelines/coreclr/templates/run-performance-job.yml
logicalmachine: 'perfampere'
logicalmachine: 'perfampere'

# run coreclr cloudvm microbenchmarks perf job
# this run is added temporarily for measuring AVX-512 performance
- template: /eng/pipelines/common/platform-matrix.yml
parameters:
jobTemplate: /eng/pipelines/coreclr/templates/perf-job.yml
buildConfig: release
runtimeFlavor: coreclr
platforms:
- linux_x64
- windows_x64
jobParameters:
testGroup: perf
liveLibrariesBuildConfig: Release
projectFile: microbenchmarks.proj
runKind: micro
runJobTemplate: /eng/pipelines/coreclr/templates/run-performance-job.yml
logicalmachine: 'cloudvm'

# Uncomment once we fix https://github.com/dotnet/performance/issues/1950
# # run coreclr linux crossgen perf job
Expand Down
1 change: 1 addition & 0 deletions eng/testing/performance/performance-setup.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ if ($Internal) {
"perfsurf" { $Queue = "Windows.10.Arm64.Perf.Surf" }
"perfpixel4a" { $Queue = "Windows.10.Amd64.Pixel.Perf" }
"perfampere" { $Queue = "Windows.Server.Arm64.Perf" }
"cloudvm" { $Queue = "Windows.10.Amd64" }
Default { $Queue = "Windows.10.Amd64.19H1.Tiger.Perf" }
}
$PerfLabArguments = "--upload-to-perflab-container"
Expand Down
2 changes: 2 additions & 0 deletions eng/testing/performance/performance-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ if [[ "$internal" == true ]]; then
queue=OSX.1015.Amd64.Iphone.Perf
elif [[ "$logical_machine" == "perfampere" ]]; then
queue=Ubuntu.2004.Arm64.Perf
elif [[ "$logical_machine" == "cloudvm" ]]; then
queue=Ubuntu.1804.Amd64
elif [[ "$architecture" == "arm64" ]]; then
queue=Ubuntu.1804.Arm64.Perf
else
Expand Down

0 comments on commit e6226e6

Please sign in to comment.