Skip to content

[Perf] Linux/x64: 113 Improvements on 6/3/2025 10:54:35 PM +00:00 #57258

Closed
@performanceautofiler

Description

@performanceautofiler

Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 6ab0311319cc7c975ac7ed1b84df809e881dfb13
Compare f34ec2bc4c3a16b647fd4fc0016aca4f62479e5a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Collections.CtorFromCollection<Int32>

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
5.96 μs 5.01 μs 0.84 0.26 False
5.90 μs 5.17 μs 0.88 0.23 False
3.34 μs 2.77 μs 0.83 0.33 False
3.37 μs 2.81 μs 0.83 0.28 False
16.39 μs 15.01 μs 0.92 0.28 False
3.34 μs 2.78 μs 0.83 0.31 False

graph
graph
graph
graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.CtorFromCollection&lt;Int32&gt;*'

System.Collections.CtorFromCollection<Int32>.ImmutableList(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.CtorFromCollection<Int32>.SortedDictionaryDeepCopy(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.CtorFromCollection<Int32>.ImmutableQueue(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.CtorFromCollection<Int32>.ConcurrentStack(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.CtorFromCollection<Int32>.SortedDictionary(Size: 512)

ETL Files

Histogram

JIT Disasms

System.Collections.CtorFromCollection<Int32>.ImmutableStack(Size: 512)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 6ab0311319cc7c975ac7ed1b84df809e881dfb13
Compare f34ec2bc4c3a16b647fd4fc0016aca4f62479e5a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Xml.Linq.Perf_XElement

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
33.40 ns 31.24 ns 0.94 0.20 False

graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Xml.Linq.Perf_XElement*'

System.Xml.Linq.Perf_XElement.CreateWithElements

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 6ab0311319cc7c975ac7ed1b84df809e881dfb13
Compare f34ec2bc4c3a16b647fd4fc0016aca4f62479e5a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Threading.Tests.Perf_CancellationToken

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
43.72 ns 40.30 ns 0.92 0.08 False
46.53 ns 41.13 ns 0.88 0.02 False
103.04 ns 92.51 ns 0.90 0.03 False
77.66 ns 69.72 ns 0.90 0.02 False
31.34 ns 26.90 ns 0.86 0.03 False
50.37 ns 45.62 ns 0.91 0.19 False

graph
graph
graph
graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Threading.Tests.Perf_CancellationToken*'

System.Threading.Tests.Perf_CancellationToken.CreateRegisterDispose

ETL Files

Histogram

JIT Disasms

System.Threading.Tests.Perf_CancellationToken.CreateLinkedTokenSource2

ETL Files

Histogram

JIT Disasms

System.Threading.Tests.Perf_CancellationToken.CreateManyRegisterMultipleDispose

ETL Files

Histogram

JIT Disasms

System.Threading.Tests.Perf_CancellationToken.CreateLinkedTokenSource3

ETL Files

Histogram

JIT Disasms

System.Threading.Tests.Perf_CancellationToken.CreateLinkedTokenSource1

ETL Files

Histogram

JIT Disasms

System.Threading.Tests.Perf_CancellationToken.Cancel

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 6ab0311319cc7c975ac7ed1b84df809e881dfb13
Compare f34ec2bc4c3a16b647fd4fc0016aca4f62479e5a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in System.Linq.Tests.Perf_Enumerable

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
103.73 ns 96.97 ns 0.93 0.06 False
45.42 ns 38.39 ns 0.85 0.02 False
2.73 μs 2.31 μs 0.84 0.19 False
2.62 μs 2.16 μs 0.83 0.21 False
28.86 ns 26.00 ns 0.90 0.08 False
65.90 ns 61.07 ns 0.93 0.04 False
47.40 ns 41.08 ns 0.87 0.03 False
1.63 ns 0.52 ns 0.32 0.09 False
18.19 ns 11.99 ns 0.66 0.20 False
37.83 ns 28.97 ns 0.77 0.25 False
3.52 ns 2.05 ns 0.58 0.10 False
44.75 ns 38.17 ns 0.85 0.02 False
10.23 ns 2.83 ns 0.28 0.05 False
2.72 μs 2.31 μs 0.85 0.22 False
7.28 ns 3.20 ns 0.44 0.24 False
15.84 ns 11.04 ns 0.70 0.24 False
85.16 ns 55.35 ns 0.65 0.09 False

graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Linq.Tests.Perf_Enumerable*'

System.Linq.Tests.Perf_Enumerable.Average(input: IEnumerable)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.WhereAny_LastElementMatches(input: Array)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.AppendPrepend(input: IEnumerable)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.Prepend(input: IEnumerable)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.ToList(input: ICollection)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.SelectToList(input: Range)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.WhereAny_LastElementMatches(input: List)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.Count(input: ICollection)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.WhereLast_LastElementMatches(input: List)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.ElementAt(input: IEnumerable)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.LastWithPredicate_FirstElementMatches(input: IList)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.WhereFirst_LastElementMatches(input: Array)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.SequenceEqual(input1: Array, input2: Array)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.Append(input: IEnumerable)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.EmptyTakeSelectToArray

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.WhereLast_LastElementMatches(input: Array)

ETL Files

Histogram

JIT Disasms

System.Linq.Tests.Perf_Enumerable.SelectToArray(input: Range)

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository


Run Information

Name Value
Architecture x64
OS ubuntu 22.04
Queue ViperUbuntu
Baseline 6ab0311319cc7c975ac7ed1b84df809e881dfb13
Compare f34ec2bc4c3a16b647fd4fc0016aca4f62479e5a
Diff Diff
Configs CompilationMode:tiered, RunKind:micro

Improvements in PerfLabTests.LowLevelPerf

Benchmark Baseline Test Test/Base Test Quality Edge Detector Baseline IR Compare IR IR Ratio
702.87 μs 581.81 μs 0.83 0.32 False
694.71 μs 583.22 μs 0.84 0.33 False
199.29 μs 162.68 μs 0.82 0.45 False

graph
graph
graph
Test Report

Repro

General Docs link: https://github.com/dotnet/performance/blob/main/docs/benchmarking-workflow-dotnet-runtime.md

git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'PerfLabTests.LowLevelPerf*'

PerfLabTests.LowLevelPerf.NewDelegateClassEmptyInstanceFn

ETL Files

Histogram

JIT Disasms

PerfLabTests.LowLevelPerf.NewDelegateClassEmptyStaticFn

ETL Files

Histogram

JIT Disasms

PerfLabTests.LowLevelPerf.GenericClassWithSTringGenericInstanceMethod

ETL Files

Histogram

JIT Disasms

Docs

Profiling workflow for dotnet/runtime repository
Benchmarking workflow for dotnet/runtime repository

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions