Skip to content

Commit

Permalink
Add category exclusion so that NoAOT can be kept for centos AOT runs.
Browse files Browse the repository at this point in the history
  • Loading branch information
LoopedBard3 committed Jul 22, 2022
1 parent 8764aa2 commit f796a43
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,7 @@ jobs:
container: centos_x64_build_container
csproj: src/benchmarks/micro/MicroBenchmarks.csproj
runCategories: 'runtime libraries'
excludedCategories: 'NoAOT'
channels:
- nativeaot7.0

Expand Down
5 changes: 3 additions & 2 deletions eng/performance/benchmark_jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ parameters:
csproj: '' # required -- relative path to csproj with benchmarks
channels: [] # required -- list of channels to download .NET from
runCategories: '' # required -- string of space separated categories supplied to benchmark dotnet
excludedCategories: '' # optional -- string of space separated categories to supply to benchmark dotnet for exclusion
machinePool: '' # required -- Name of perf machine pool (Tiger, Owl, etc)

jobs:
Expand Down Expand Up @@ -72,7 +73,7 @@ jobs:
value: dotnet-performance
# for public runs we want to run the benchmarks exactly once, no warmup, no pilot, no overhead
- name: BenchmarkDotNetArguments
value: '--anyCategories ${{ parameters.runCategories }} --iterationCount 1 --warmupCount 0 --invocationCount 1 --unrollFactor 1 --strategy ColdStart --stopOnFirstError true'
value: '--anyCategories ${{ parameters.runCategories }} --category-exclusion-filter ${{ parameters.excludedCategories }} --iterationCount 1 --warmupCount 0 --invocationCount 1 --unrollFactor 1 --strategy ColdStart --stopOnFirstError true'
- name: HelixApiAccessToken
value: ''
- name: HelixPreCommand
Expand All @@ -85,7 +86,7 @@ jobs:
value: '--upload-to-perflab-container'
# for private runs we don't provide any custom BDN arguments (the ones from Program.Main are used)
- name: BenchmarkDotNetArguments
value: '--anyCategories ${{ parameters.runCategories }}'
value: '--anyCategories ${{ parameters.runCategories }} --category-exclusion-filter ${{ parameters.excludedCategories }}'
- name: Creator
value: ''
- name: HelixSourcePrefix
Expand Down

0 comments on commit f796a43

Please sign in to comment.