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
25 changes: 8 additions & 17 deletions gc-azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,6 @@ jobs:

steps:
# Install dotnet. We temporarily need both .NET 8 (for building and running the projects) and .NET 9 (for installing deps).
Comment thread
janvorli marked this conversation as resolved.
- task: UseDotNet@2
displayName: Install .NET 8.0
inputs:
version: 8.0.x
- task: UseDotNet@2
displayName: Install .NET 9.0
inputs:
version: 9.0.x
includePreviewVersions: true
- task: UseDotNet@2
displayName: Install .NET 10.0
inputs:
Expand All @@ -59,10 +50,10 @@ jobs:
includePreviewVersions: true
- script: dotnet tool restore
- script: dotnet tool install --global dotnet-repl
- script: dotnet build src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core/GC.Infrastructure.Core.csproj --configuration Debug --framework net8.0
- script: dotnet build src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core.UnitTests/GC.Infrastructure.Core.UnitTests.csproj --configuration Debug --framework net8.0
- script: dotnet build src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API/GC.Analysis.API.csproj --configuration Debug --framework net8.0
- script: dotnet build src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API.UnitTests/GC.Analysis.API.UnitTests.csproj --configuration Debug --framework net8.0
- script: dotnet build src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core/GC.Infrastructure.Core.csproj --configuration Debug --framework net10.0
- script: dotnet build src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core.UnitTests/GC.Infrastructure.Core.UnitTests.csproj --configuration Debug --framework net10.0
- script: dotnet build src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API/GC.Analysis.API.csproj --configuration Debug --framework net10.0
- script: dotnet build src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API.UnitTests/GC.Analysis.API.UnitTests.csproj --configuration Debug --framework net10.0

# Run tests. Template installed from: https://learn.microsoft.com/en-us/azure/devops/pipelines/tasks/reference/vstest-v3?view=azure-pipelines
- task: VSTest@3
Expand All @@ -71,8 +62,8 @@ jobs:
# Test selection #
# -------------- #
testAssemblyVer2: GC.Infrastructure.Core.UnitTests.dll
searchFolder: '$(System.DefaultWorkingDirectory)/artifacts/bin/GC.Infrastructure.Core.UnitTests/Debug/net8.0'
otherConsoleOptions: '--Framework:net8.0'
searchFolder: '$(System.DefaultWorkingDirectory)/artifacts/bin/GC.Infrastructure.Core.UnitTests/Debug/net10.0'
otherConsoleOptions: '--Framework:net10.0'
# Uncomment to save results in the future.
# resultsFolder: '$(Agent.TempDirectory)\TestResults' # string. Test results folder. Default: $(Agent.TempDirectory)\TestResults.

Expand All @@ -90,8 +81,8 @@ jobs:
# Test selection #
# -------------- #
testAssemblyVer2: GC.Analysis.API.UnitTests.dll
searchFolder: '$(System.DefaultWorkingDirectory)/artifacts/bin/GC.Analysis.API.UnitTests/Debug/net8.0'
otherConsoleOptions: '--Framework:net8.0'
searchFolder: '$(System.DefaultWorkingDirectory)/artifacts/bin/GC.Analysis.API.UnitTests/Debug/net10.0'
otherConsoleOptions: '--Framework:net10.0'
# Uncomment to save results in the future.
# resultsFolder: '$(Agent.TempDirectory)\TestResults' # string. Test results folder. Default: $(Agent.TempDirectory)\TestResults.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
output_path: C:\Outputs\GCPerfsimFunctionalTest
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net7.0\GCPerfSim.dll
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net10.0\GCPerfSim.dll

coreruns:
segments:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ gcperfsim_configurations:
pohfi: 0
allocType: reference
testKind: time
gcperfsim_path: "C:\\performance\\artifacts\\bin\\GCPerfSim\\release\\net7.0\\GCPerfSim.dll"
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net10.0\GCPerfSim.dll

coreruns:
baseline:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
pohfi: 0
allocType: reference
testKind: time
gcperfsim_path: "C:\\performance\\artifacts\\bin\\GCPerfSim\\release\\net7.0\\GCPerfSim.dll"
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net10.0\GCPerfSim.dll
coreruns:
baseline : "C:\\array_init\\windows\\before\\corerun.exe"
andrew_fix: "C:\\array_init\\windows\\fixed\\corerun.exe"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ gcperfsim_configurations:
pohfi: 0
allocType: reference
testKind: time
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net7.0\GCPerfSim.dll
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net10.0\GCPerfSim.dll
environment:
environment_variables:
DOTNET_gcServer: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ gcperfsim_configurations:
pohfi: 0
allocType: reference
testKind: time
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net7.0\GCPerfSim.dll
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net10.0\GCPerfSim.dll
environment:
environment_variables:
DOTNET_gcServer: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ gcperfsim_configurations:
pohfi: 0
allocType: reference
testKind: time
gcperfsim_path: "C:\\performance\\artifacts\\bin\\GCPerfSim\\release\\net7.0\\GCPerfSim.dll"
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net10.0\GCPerfSim.dll

coreruns:
baseline:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ gcperfsim_configurations:
rlmb: 2
allocType: reference
testKind: time
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net7.0\GCPerfSim.dll
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net10.0\GCPerfSim.dll
environment:
environment_variables:
DOTNET_gcServer: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ gcperfsim_configurations:
pohfi: 0
allocType: reference
testKind: time
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net7.0\GCPerfSim.dll
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net10.0\GCPerfSim.dll
environment:
environment_variables:
DOTNET_gcServer: 1
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ gcperfsim_configurations:
pohfi: 0
allocType: reference
testKind: time
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net7.0\GCPerfSim.dll
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net10.0\GCPerfSim.dll
environment:
environment_variables:
DOTNET_gcServer: 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ EnableStressMode: false

Core_Root: Q:\runtime\artifacts\tests\coreclr\windows.x64.Checked\Tests\Core_Root
ReliabilityFrameworkDll: Q:\runtime\artifacts\tests\coreclr\windows.x64.Release\GC\Stress\Framework\ReliabilityFramework\ReliabilityFramework.dll
GCPerfSimDll: Q:\performance\artifacts\bin\GCPerfSim\Release\net7.0\GCPerfSim.dll
GCPerfSimDll: Q:\performance\artifacts\bin\GCPerfSim\Release\net10.0\GCPerfSim.dll
TestFolder: Q:\runtime\artifacts\tests\coreclr\windows.x64.Release\GC\Stress\Framework\ReliabilityFramework\Tests


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
output_path: C:\InfraRuns\RunNew
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net7.0\GCPerfSim.dll
gcperfsim_path: C:\performance\artifacts\bin\GCPerfSim\release\net10.0\GCPerfSim.dll
Comment thread
janvorli marked this conversation as resolved.
microbenchmark_path: C:\performance\src\benchmarks\micro

coreruns:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<ImplicitUsings>enable</ImplicitUsings>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<Nullable>enable</Nullable>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net9.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<TargetFramework>net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
Expand Down
2 changes: 1 addition & 1 deletion src/benchmarks/gc/GC.Infrastructure/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ To run all the test suites, do the following steps:
1. ``cd C:\performance\src\benchmarks\gc\src\exec\GCPerfSim``.
2. ``dotnet build -c Release``.
3. The path of GCPerfSim.dll will be available in: ``C:\performance\artifacts\bin\GCPerfSim\Release\{.NET Version}\GCPerfSim.dll``.
1. For example: C:\Performance\artifacts\bin\GCPerfSim\Release\net7.0\GCPerfSim.dll.
1. For example: C:\Performance\artifacts\bin\GCPerfSim\Release\net10.0\GCPerfSim.dll.
Comment thread
janvorli marked this conversation as resolved.
3. The path to the microbenchmark folder or the root path of the Microbenchmarks projects which, will be in: ``C:\performance\src\benchmarks\micro``.
1. Ensure that the microbenchmarks have been compiled using: ``dotnet build -c Release``.
4. The corerun path for the baseline and the run.
Expand Down
2 changes: 1 addition & 1 deletion src/benchmarks/gc/GCPerfSim/GCPerfSim.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<PropertyGroup>
<OutputType>Exe</OutputType>
<!-- For a desktop build, you could add e.g. `net472;` here. -->
<TargetFrameworks>net7.0</TargetFrameworks>
<TargetFrameworks>net10.0</TargetFrameworks>
Comment thread
janvorli marked this conversation as resolved.
<LangVersion>8.0</LangVersion>
<RootNamespace>gcperfsim_core</RootNamespace>
</PropertyGroup>
Expand Down
Loading