Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions azure-pipelines-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,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 @@ -33,7 +33,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