diff --git a/gc-azure-pipelines.yml b/gc-azure-pipelines.yml index 1d1fd31fb48..4287b8f09f8 100644 --- a/gc-azure-pipelines.yml +++ b/gc-azure-pipelines.yml @@ -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). - - 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: @@ -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 @@ -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. @@ -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. diff --git a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/GCPerfSimFunctionalRun.yaml b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/GCPerfSimFunctionalRun.yaml index 5b403701f35..1ba25526355 100644 --- a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/GCPerfSimFunctionalRun.yaml +++ b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/GCPerfSimFunctionalRun.yaml @@ -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: diff --git a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/HighMemory.yaml b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/HighMemory.yaml index ee74a802244..0ac10a8d6bc 100644 --- a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/HighMemory.yaml +++ b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/HighMemory.yaml @@ -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: diff --git a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LargePages_NormalServer.yaml b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LargePages_NormalServer.yaml index 40de47f3060..3a164345d0d 100644 --- a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LargePages_NormalServer.yaml +++ b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LargePages_NormalServer.yaml @@ -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" diff --git a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LargePages_Server.yaml b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LargePages_Server.yaml index be9c4ed93a2..56bc9e2bf8d 100644 --- a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LargePages_Server.yaml +++ b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LargePages_Server.yaml @@ -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 diff --git a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LargePages_Workstation.yaml b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LargePages_Workstation.yaml index 8e32805fb6c..56aa8d29184 100644 --- a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LargePages_Workstation.yaml +++ b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LargePages_Workstation.yaml @@ -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 diff --git a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LowMemoryContainer.yaml b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LowMemoryContainer.yaml index 3351267af34..07bcbfdd568 100644 --- a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LowMemoryContainer.yaml +++ b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LowMemoryContainer.yaml @@ -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: diff --git a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LowVolatilityRuns.yaml b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LowVolatilityRuns.yaml index f88e69f361c..600763f6b44 100644 --- a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LowVolatilityRuns.yaml +++ b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/LowVolatilityRuns.yaml @@ -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 diff --git a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/Normal_Server.yaml b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/Normal_Server.yaml index 4121f1e27c0..8cfa03e5dc2 100644 --- a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/Normal_Server.yaml +++ b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/Normal_Server.yaml @@ -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 diff --git a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/Normal_Workstation.yaml b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/Normal_Workstation.yaml index 5baa5705170..d971165647f 100644 --- a/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/Normal_Workstation.yaml +++ b/src/benchmarks/gc/GC.Infrastructure/Configurations/GCPerfSim/Normal_Workstation.yaml @@ -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 diff --git a/src/benchmarks/gc/GC.Infrastructure/Configurations/ReliabilityFramework/ReliabilityFramework_CreateTestSuite.yaml b/src/benchmarks/gc/GC.Infrastructure/Configurations/ReliabilityFramework/ReliabilityFramework_CreateTestSuite.yaml index d204869dbd4..c3738fc228c 100644 --- a/src/benchmarks/gc/GC.Infrastructure/Configurations/ReliabilityFramework/ReliabilityFramework_CreateTestSuite.yaml +++ b/src/benchmarks/gc/GC.Infrastructure/Configurations/ReliabilityFramework/ReliabilityFramework_CreateTestSuite.yaml @@ -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 diff --git a/src/benchmarks/gc/GC.Infrastructure/Configurations/Run.yaml b/src/benchmarks/gc/GC.Infrastructure/Configurations/Run.yaml index 81abebeacea..1f59fdc9016 100644 --- a/src/benchmarks/gc/GC.Infrastructure/Configurations/Run.yaml +++ b/src/benchmarks/gc/GC.Infrastructure/Configurations/Run.yaml @@ -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 microbenchmark_path: C:\performance\src\benchmarks\micro coreruns: diff --git a/src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API.UnitTests/GC.Analysis.API.UnitTests.csproj b/src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API.UnitTests/GC.Analysis.API.UnitTests.csproj index 94596bb9e87..168a1b43988 100644 --- a/src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API.UnitTests/GC.Analysis.API.UnitTests.csproj +++ b/src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API.UnitTests/GC.Analysis.API.UnitTests.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 enable enable false diff --git a/src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API/GC.Analysis.API.csproj b/src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API/GC.Analysis.API.csproj index 88699a644eb..a30b23d753a 100644 --- a/src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API/GC.Analysis.API.csproj +++ b/src/benchmarks/gc/GC.Infrastructure/GC.Analysis.API/GC.Analysis.API.csproj @@ -2,7 +2,7 @@ enable - net8.0 + net10.0 enable false false diff --git a/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core.UnitTests/GC.Infrastructure.Core.UnitTests.csproj b/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core.UnitTests/GC.Infrastructure.Core.UnitTests.csproj index 0a7a6e22fe4..967e567d532 100644 --- a/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core.UnitTests/GC.Infrastructure.Core.UnitTests.csproj +++ b/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core.UnitTests/GC.Infrastructure.Core.UnitTests.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 enable enable false diff --git a/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core/GC.Infrastructure.Core.csproj b/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core/GC.Infrastructure.Core.csproj index cda42b8cc22..094cc3c33e5 100644 --- a/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core/GC.Infrastructure.Core.csproj +++ b/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.Core/GC.Infrastructure.Core.csproj @@ -1,7 +1,7 @@  - net8.0 + net10.0 enable enable false diff --git a/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.MCPServer/GC.Infrastructure.MCPServer.csproj b/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.MCPServer/GC.Infrastructure.MCPServer.csproj index dec50afd02d..a9deee743ee 100644 --- a/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.MCPServer/GC.Infrastructure.MCPServer.csproj +++ b/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.MCPServer/GC.Infrastructure.MCPServer.csproj @@ -2,7 +2,7 @@ Exe - net9.0 + net10.0 enable enable diff --git a/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.NotebookTests/GC.Infrastructure.NotebookTests.csproj b/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.NotebookTests/GC.Infrastructure.NotebookTests.csproj index 1f614be5fe9..a84f0987a02 100644 --- a/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.NotebookTests/GC.Infrastructure.NotebookTests.csproj +++ b/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure.NotebookTests/GC.Infrastructure.NotebookTests.csproj @@ -1,7 +1,7 @@ - net8.0 + net10.0 enable enable diff --git a/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure/GC.Infrastructure.csproj b/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure/GC.Infrastructure.csproj index 96f61f2c324..94978b329c4 100644 --- a/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure/GC.Infrastructure.csproj +++ b/src/benchmarks/gc/GC.Infrastructure/GC.Infrastructure/GC.Infrastructure.csproj @@ -2,7 +2,7 @@ Exe - net8.0 + net10.0 enable enable false diff --git a/src/benchmarks/gc/GC.Infrastructure/README.md b/src/benchmarks/gc/GC.Infrastructure/README.md index a471249e36a..1d372fa9ff4 100644 --- a/src/benchmarks/gc/GC.Infrastructure/README.md +++ b/src/benchmarks/gc/GC.Infrastructure/README.md @@ -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. 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. diff --git a/src/benchmarks/gc/GCPerfSim/GCPerfSim.csproj b/src/benchmarks/gc/GCPerfSim/GCPerfSim.csproj index 2bc325b893f..a585d4eb8ea 100644 --- a/src/benchmarks/gc/GCPerfSim/GCPerfSim.csproj +++ b/src/benchmarks/gc/GCPerfSim/GCPerfSim.csproj @@ -2,7 +2,7 @@ Exe - net7.0 + net10.0 8.0 gcperfsim_core