Skip to content

Commit

Permalink
Merge pull request #6315 from dotnet/dev/jmarolf/infrastructure/perf-…
Browse files Browse the repository at this point in the history
…queues

Move perf tests to new pool
  • Loading branch information
jmarolf authored Dec 10, 2022
2 parents 8af25d7 + 7e5162c commit f361553
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
6 changes: 3 additions & 3 deletions azure-pipelines-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ jobs:
_configuration: Release
_codeCoverage: False
pool:
name: Azure Pipelines
queue: Windows.10.Amd64.20H2.Owl.Perf
name: NetCore-Public
demands: ImageOverride -equals windows.vs2022.amd64.open
timeoutInMinutes: 150

steps:
Expand All @@ -41,7 +41,7 @@ jobs:
inputs:
filePath: $(Build.SourcesDirectory)\eng\common\build.ps1
arguments: -configuration Release -prepareMachine -ci -restore -binaryLog
- pwsh: $(Build.SourcesDirectory)\eng\perf\PerfCore.ps1 -v diag -diff -ci
- pwsh: $(Build.SourcesDirectory)\eng\perf\PerfCore.ps1 -v diag -ci
displayName: Validate Performance
- task: PublishBuildArtifacts@1
displayName: Publish Performance Results
Expand Down
4 changes: 2 additions & 2 deletions eng/perf/PerfCore.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ try {
$output = Join-Path $RepoRoot "artifacts\performance\perfResults"

# Diff two different SHAs
if ($true) {
if ($diff) {
$DiffPerfToBaseLine = Join-Path $RepoRoot "eng\perf\DiffPerfToBaseLine.ps1"
$baselinejson = Get-Content -Raw -Path (Join-Path $RepoRoot "eng\perf\baseline.json") | ConvertFrom-Json
$baselineSHA = $baselinejson.sha
Expand Down Expand Up @@ -86,4 +86,4 @@ catch {
exit 1
}
finally {
}
}
3 changes: 2 additions & 1 deletion global.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"dotnet": "7.0.100-rc.1.22431.12",
"runtimes": {
"dotnet": [
"3.1.7"
"3.1.7",
"6.0.11"
]
},
"vs": {
Expand Down

0 comments on commit f361553

Please sign in to comment.