From e6226e675a63b5d9e41f43492a13556fd4053b25 Mon Sep 17 00:00:00 2001 From: Cameron Aavik <99771732+caaavik-msft@users.noreply.github.com> Date: Tue, 4 Apr 2023 07:14:01 +1000 Subject: [PATCH] [PERF] Enable daily perf runs on cloud VMs (#84203) * Add perf run for cloud VMs * Ensure x64 is built * Use non-open queue for internal runs --- eng/pipelines/coreclr/perf_slow.yml | 22 ++++++++++++++++++- eng/testing/performance/performance-setup.ps1 | 1 + eng/testing/performance/performance-setup.sh | 2 ++ 3 files changed, 24 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/coreclr/perf_slow.yml b/eng/pipelines/coreclr/perf_slow.yml index 3f0e1034b26..23ac03be52f 100644 --- a/eng/pipelines/coreclr/perf_slow.yml +++ b/eng/pipelines/coreclr/perf_slow.yml @@ -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: @@ -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 diff --git a/eng/testing/performance/performance-setup.ps1 b/eng/testing/performance/performance-setup.ps1 index e4fc1bc1bf8..706737d5b2b 100644 --- a/eng/testing/performance/performance-setup.ps1 +++ b/eng/testing/performance/performance-setup.ps1 @@ -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" diff --git a/eng/testing/performance/performance-setup.sh b/eng/testing/performance/performance-setup.sh index 35d354e02a4..4a6921266fb 100755 --- a/eng/testing/performance/performance-setup.sh +++ b/eng/testing/performance/performance-setup.sh @@ -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 -- 2.34.1