Open performanceautofiler[bot] opened 4 days ago
Name | Value |
---|---|
Architecture | arm64 |
OS | ubuntu 22.04 |
Queue | AmpereUbuntu |
Baseline | 3116db9c19512d89b2091a9e5fcbec08581d0f9d |
Compare | e133fe4f5311c0397f8cc153bada693c48eb7a9f |
Diff | Diff |
Configs | CompilationMode:tiered, LLVM:true, MonoAOT:true, MonoInterpreter:false, RunKind:micro_mono |
Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio |
---|---|---|---|---|---|---|---|---|
|
16.82 ns | 22.38 ns | 1.33 | 0.10 | False | |||
|
72.79 ns | 86.73 ns | 1.19 | 0.01 | False | |||
|
28.11 ns | 34.45 ns | 1.23 | 0.03 | False | |||
|
83.58 ns | 89.98 ns | 1.08 | 0.02 | False | |||
|
15.30 ns | 20.93 ns | 1.37 | 0.06 | True | |||
|
14.88 ns | 21.92 ns | 1.47 | 0.03 | False | |||
|
15.78 ns | 21.82 ns | 1.38 | 0.03 | True | |||
|
24.16 ns | 30.99 ns | 1.28 | 0.01 | False | |||
|
20.05 ns | 26.28 ns | 1.31 | 0.03 | False | |||
|
43.42 ns | 49.52 ns | 1.14 | 0.02 | False | |||
|
13.24 ns | 20.02 ns | 1.51 | 0.12 | False | |||
|
26.86 ns | 33.76 ns | 1.26 | 0.03 | False | |||
|
19.35 ns | 25.14 ns | 1.30 | 0.07 | True | |||
|
14.68 ns | 21.03 ns | 1.43 | 0.10 | True | |||
|
11.33 ns | 18.33 ns | 1.62 | 0.05 | False | |||
|
11.80 ns | 17.88 ns | 1.51 | 0.09 | True | |||
|
14.98 ns | 21.64 ns | 1.45 | 0.04 | False | |||
|
17.52 ns | 23.46 ns | 1.34 | 0.01 | True | |||
|
19.49 ns | 29.09 ns | 1.49 | 0.08 | False | |||
|
16.18 ns | 21.46 ns | 1.33 | 0.04 | True | |||
|
74.42 ns | 81.80 ns | 1.10 | 0.01 | False | |||
|
12.11 ns | 19.00 ns | 1.57 | 0.09 | False | |||
|
14.58 ns | 21.43 ns | 1.47 | 0.09 | True | |||
|
18.66 ns | 24.62 ns | 1.32 | 0.08 | False | |||
|
32.87 ns | 37.36 ns | 1.14 | 0.01 | False | |||
|
15.89 ns | 23.45 ns | 1.48 | 0.04 | False | |||
|
44.87 ns | 50.57 ns | 1.13 | 0.08 | False | |||
|
35.01 ns | 37.38 ns | 1.07 | 0.06 | False |
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md
Name | Value |
---|---|
Architecture | arm64 |
OS | ubuntu 22.04 |
Queue | AmpereUbuntu |
Baseline | 3116db9c19512d89b2091a9e5fcbec08581d0f9d |
Compare | e133fe4f5311c0397f8cc153bada693c48eb7a9f |
Diff | Diff |
Configs | CompilationMode:tiered, LLVM:true, MonoAOT:true, MonoInterpreter:false, RunKind:micro_mono |
Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio |
---|---|---|---|---|---|---|---|---|
|
80.35 ns | 86.51 ns | 1.08 | 0.02 | False | |||
|
12.43 ns | 19.44 ns | 1.56 | 0.04 | True | |||
|
81.16 ns | 86.01 ns | 1.06 | 0.02 | False | |||
|
44.84 ns | 52.27 ns | 1.17 | 0.00 | True | |||
|
17.98 ns | 24.59 ns | 1.37 | 0.02 | False | |||
|
15.88 ns | 22.68 ns | 1.43 | 0.02 | True | |||
|
21.89 ns | 28.02 ns | 1.28 | 0.03 | True | |||
|
16.98 ns | 23.01 ns | 1.36 | 0.05 | True | |||
|
19.85 ns | 25.34 ns | 1.28 | 0.05 | True | |||
|
13.91 ns | 19.69 ns | 1.42 | 0.09 | False | |||
|
170.88 ns | 193.52 ns | 1.13 | 0.02 | False | |||
|
20.50 ns | 25.43 ns | 1.24 | 0.02 | True | |||
|
25.63 ns | 30.22 ns | 1.18 | 0.09 | False | |||
|
35.19 ns | 42.41 ns | 1.21 | 0.04 | True | |||
|
16.88 ns | 22.95 ns | 1.36 | 0.03 | True | |||
|
16.95 ns | 22.84 ns | 1.35 | 0.05 | True | |||
|
34.39 ns | 41.07 ns | 1.19 | 0.02 | True | |||
|
21.49 ns | 26.64 ns | 1.24 | 0.05 | True | |||
|
25.36 ns | 31.99 ns | 1.26 | 0.03 | False | |||
|
16.34 ns | 21.87 ns | 1.34 | 0.03 | True | |||
|
16.46 ns | 22.78 ns | 1.38 | 0.05 | True | |||
|
14.05 ns | 21.02 ns | 1.50 | 0.04 | True | |||
|
11.74 ns | 18.65 ns | 1.59 | 0.05 | True |
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md
Name | Value |
---|---|
Architecture | arm64 |
OS | ubuntu 22.04 |
Queue | AmpereUbuntu |
Baseline | 3116db9c19512d89b2091a9e5fcbec08581d0f9d |
Compare | e133fe4f5311c0397f8cc153bada693c48eb7a9f |
Diff | Diff |
Configs | CompilationMode:tiered, LLVM:true, MonoAOT:true, MonoInterpreter:false, RunKind:micro_mono |
Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio |
---|---|---|---|---|---|---|---|---|
|
76.11 μs | 82.55 μs | 1.08 | 0.04 | False |
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md
Run Information
Regressions in System.Memory.Span<Char>
Test Report
Repro
General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md
Repro Steps
#### Prerequisites (Files either built locally (with build.(sh/cmd) or downloaded from payload above (if same system setup) (in this order)) - Libraries build extracted to `runtime/artifacts` or build instructions: [Libraries README](https://github.com/dotnet/runtime/blob/main/docs/workflow/building/libraries/README.md) args: `-subset libs+libs.tests -rc release -configuration Release -arch $RunArch -framework net8.0` - CoreCLR product build extracted to `runtime/artifacts/bin/coreclr/$RunOS.$RunArch.Release`, build instructions: [CoreCLR README](https://github.com/dotnet/runtime/blob/main/docs/workflow/building/coreclr/README.md) args: `-subset clr+libs -rc release -configuration Release -arch $RunArch -framework net8.0` - AOT MONO build extracted to `runtime/artifacts/bin/mono/$RunOS.$RunArch.Release`, build instructions: [MONO README](https://github.com/dotnet/runtime/blob/main/docs/workflow/building/mono/README.md) args: `-arch $RunArch -os $RunOS -s mono+libs+host+packs -c Release /p:CrossBuild=false /p:MonoLLVMUseCxx11Abi=false` - Dotnet SDK installed for dotnet commands - Running commands from the runtime folder Linux ```cmd # Set $RunDir to the runtime directory RunDir=`pwd` # Set the OS, arch, and OSId RunOS='linux' RunOSId='linux' RunArch='x64' # Create aot directory mkdir -p $RunDir/artifacts/bin/aot/sgen mkdir -p $RunDir/artifacts/bin/aot/pack cp -r $RunDir/artifacts/obj/mono/$RunOS.$RunArch.Release/mono/* $RunDir/artifacts/bin/aot/sgen cp -r $RunDir/artifacts/bin/microsoft.netcore.app.runtime.$RunOS-$RunArch/Release/* $RunDir/artifacts/bin/aot/pack # Create Core Root $RunDir/src/tests/build.sh release $RunArch generatelayoutonly /p:LibrariesConfiguration=Release # Clone performance git clone --branch main --depth 1 --quiet https://github.com/dotnet/performance.git $RunDir/performance # One line run: python3 $RunDir/performance/scripts/benchmarks_ci.py --csproj $RunDir/performance/src/benchmarks/micro/MicroBenchmarks.csproj --incremental no --architecture $RunArch -f net8.0 --filter 'System.Memory.Span<Char>*' --bdn-artifacts $RunDir/artifacts/BenchmarkDotNet.Artifacts --bdn-arguments="--anyCategories Libraries Runtime --category-exclusion-filter NoAOT NoWASM --runtimes monoaotllvm --aotcompilerpath $RunDir/artifacts/bin/aot/sgen/mini/mono-sgen --customruntimepack $RunDir/artifacts/bin/aot/pack --aotcompilermode llvm --logBuildOutput --generateBinLog" # Individual Commands: # Restore dotnet restore $RunDir/performance/src/benchmarks/micro/MicroBenchmarks.csproj --packages $RunDir/performance/artifacts/packages /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 # Build dotnet build $RunDir/performance/src/benchmarks/micro/MicroBenchmarks.csproj --configuration Release --framework net8.0 --no-restore /p:NuGetPackageRoot=$RunDir/performance/artifacts/packages /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 # Run dotnet run --project $RunDir/performance/src/benchmarks/micro/MicroBenchmarks.csproj --configuration Release --framework net8.0 --no-restore --no-build -- --filter System.Memory.Span<Char>* --anyCategories Libraries Runtime " --category-exclusion-filter NoAOT NoWASM --runtimes monoaotllvm --aotcompilerpath $RunDir/artifacts/bin/aot/sgen/mini/mono-sgen --customruntimepack $RunDir/artifacts/bin/aot/pack --aotcompilermode llvm --logBuildOutput --generateBinLog " --artifacts $RunDir/artifacts/BenchmarkDotNet.Artifacts --packages $RunDir/performance/artifacts/packages --buildTimeout 1200 ``` Windows ```cmd # Set $RunDir to the runtime directory $RunDir="FullPathHere" # Set the OS, arch, and OSId RunOS='windows' RunOSId='win' RunArch='x64' # Create aot directory mkdir $RunDir\artifacts\bin\aot\sgen mkdir $RunDir\artifacts\bin\aot\pack xcopy $RunDir\artifacts\obj\mono\$RunOS.$RunArch.Release\mono $RunDir\artifacts\bin\aot\sgen\ /e /y xcopy $RunDir\artifacts\bin\microsoft.netcore.app.runtime.$RunOSId-$RunArch\Release $RunDir\artifacts\bin\aot\pack\ /e /y # Create Core Root $RunDir\src\tests\build.cmd release $RunArch generatelayoutonly /p:LibrariesConfiguration=Release # Clone performance git clone --branch main --depth 1 --quiet https://github.com/dotnet/performance.git $RunDir\performance # One line run: python3 $RunDir\performance\scripts\benchmarks_ci.py --csproj $RunDir\performance\src\benchmarks\micro\MicroBenchmarks.csproj --incremental no --architecture $RunArch -f net8.0 --filter 'System.Memory.Span<Char>*' --bdn-artifacts $RunDir\artifacts\BenchmarkDotNet.Artifacts --bdn-arguments="--anyCategories Libraries Runtime --category-exclusion-filter NoAOT NoWASM --runtimes monoaotllvm --aotcompilerpath $RunDir\artifacts\bin\aot\sgen\mini\mono-sgen.exe --customruntimepack $RunDir\artifacts\bin\aot\pack --aotcompilermode llvm --logBuildOutput --generateBinLog" # Individual Commands: # Restore dotnet restore $RunDir\performance\src\benchmarks\micro\MicroBenchmarks.csproj --packages $RunDir\performance\artifacts\packages /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 # Build dotnet build $RunDir\performance\src\benchmarks\micro\MicroBenchmarks.csproj --configuration Release --framework net8.0 --no-restore /p:NuGetPackageRoot=$RunDir\performance\artifacts\packages /p:UseSharedCompilation=false /p:BuildInParallel=false /m:1 # Run dotnet run --project $RunDir\performance\src\benchmarks\micro\MicroBenchmarks.csproj --configuration Release --framework net8.0 --no-restore --no-build -- --filter System.Memory.Span<Char>* --anyCategories Libraries Runtime " --category-exclusion-filter NoAOT NoWASM --runtimes monoaotllvm --aotcompilerpath $RunDir\artifacts\bin\aot\sgen\mini\mono-sgen.exe --customruntimepack $RunDir\artifacts\bin\aot\pack -aotcompilermode llvm --logBuildOutput --generateBinLog " --artifacts $RunDir\artifacts\BenchmarkDotNet.Artifacts --packages $RunDir\performance\artifacts\packages --buildTimeout 1200 ```