dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/arm64: 21 Improvements on 6/2/2026 9:01:20 PM +00:00

Open
#74,111 1 comment 0 reactions 0 assignees View on GitHub
ampere arch-arm64 branch-refs/heads/main compilationmode-tiered kind-micro os-linux perf-improvement runkind-micro runtime-coreclr untriaged
Dominant language
No language data
Stars
10
Forks
8
PR merge metrics
PR metrics pending

Description

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [98d2d533e9572678123721a78a59173daf63acf9](https://github.com/dotnet/runtime/commit/98d2d533e9572678123721a78a59173daf63acf9)
Compare | [2790c60428c37ef3c0a33941e10f867aa79c51b7](https://github.com/dotnet/runtime/commit/2790c60428c37ef3c0a33941e10f867aa79c51b7)
Diff | [Diff](https://github.com/dotnet/runtime/compare/98d2d533e9572678123721a78a59173daf63acf9...2790c60428c37ef3c0a33941e10f867aa79c51b7)
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
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [Aggregate - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 199.66 ns | 72.35 ns | 0.36 | 0.00 | False | | |
|
  • [SingleWithPredicate_FirstElementMatches - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 200.10 ns | 72.60 ns | 0.36 | 0.01 | False | | |
|
  • [Max - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 226.09 ns | 102.02 ns | 0.45 | 0.01 | False | | |
|
  • [Average - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 225.79 ns | 102.29 ns | 0.45 | 0.01 | False | | |
|
  • [Min - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 223.14 ns | 102.02 ns | 0.46 | 0.01 | False | | |
|
  • [LastWithPredicate_FirstElementMatches - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 197.83 ns | 105.11 ns | 0.53 | 0.01 | False | | |
|
  • [All_AllElementsMatch - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 103.70 ns | 70.61 ns | 0.68 | 0.01 | False | | |
|
  • [AnyWithPredicate_LastElementMatches - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 103.63 ns | 70.58 ns | 0.68 | 0.16 | False | | |
|
  • [FirstWithPredicate_LastElementMatches - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 103.69 ns | 70.86 ns | 0.68 | 0.14 | False | | |
|
  • [WhereFirst_LastElementMatches - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 119.90 ns | 92.08 ns | 0.77 | 0.21 | False | | |
|
  • [WhereAny_LastElementMatches - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 120.56 ns | 98.24 ns | 0.81 | 0.33 | False | | |
|
  • [Contains_ElementNotFound - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 28.42 ns | 23.39 ns | 0.82 | 0.01 | False | | |

![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

```cmd
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.Aggregate(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.SingleWithPredicate_FirstElementMatches(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.Max(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.Min(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.LastWithPredicate_FirstElementMatches(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.All_AllElementsMatch(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.AnyWithPredicate_LastElementMatches(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.FirstWithPredicate_LastElementMatches(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.WhereFirst_LastElementMatches(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.WhereAny_LastElementMatches(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.Contains_ElementNotFound(input: ICollection)

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

---

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [98d2d533e9572678123721a78a59173daf63acf9](https://github.com/dotnet/runtime/commit/98d2d533e9572678123721a78a59173daf63acf9)
Compare | [2790c60428c37ef3c0a33941e10f867aa79c51b7](https://github.com/dotnet/runtime/commit/2790c60428c37ef3c0a33941e10f867aa79c51b7)
Diff | [Diff](https://github.com/dotnet/runtime/compare/98d2d533e9572678123721a78a59173daf63acf9...2790c60428c37ef3c0a33941e10f867aa79c51b7)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Collections.Perf_Frozen<Int16>

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [ToFrozenSet - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 29.17 μs | 26.79 μs | 0.92 | 0.01 | False | | |
|
  • [ToFrozenSet - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.22 μs | 3.05 μs | 0.95 | 0.01 | False | | |

![graph]()
![graph]()
[Test Report]()

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

```cmd
git clone https://github.com/dotnet/performance.git
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.Perf_Frozen*'
```

### System.Collections.Perf_Frozen<Int16>.ToFrozenSet(Count: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.Perf_Frozen<Int16>.ToFrozenSet(Count: 64)

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

---

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [98d2d533e9572678123721a78a59173daf63acf9](https://github.com/dotnet/runtime/commit/98d2d533e9572678123721a78a59173daf63acf9)
Compare | [2790c60428c37ef3c0a33941e10f867aa79c51b7](https://github.com/dotnet/runtime/commit/2790c60428c37ef3c0a33941e10f867aa79c51b7)
Diff | [Diff](https://github.com/dotnet/runtime/compare/98d2d533e9572678123721a78a59173daf63acf9...2790c60428c37ef3c0a33941e10f867aa79c51b7)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.IO.Tests.Perf_FileStream

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [CopyToFileAsync - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 211.01 ms | 154.71 ms | 0.73 | 0.26 | False | | |
|
  • [CopyToFileAsync - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 200.47 ms | 155.70 ms | 0.78 | 0.25 | False | | |

![graph]()
![graph]()
[Test Report]()

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

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

### System.IO.Tests.Perf_FileStream.CopyToFileAsync(fileSize: 104857600, options: None)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.IO.Tests.Perf_FileStream.CopyToFileAsync(fileSize: 104857600, options: Asynchronous)

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

---

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [98d2d533e9572678123721a78a59173daf63acf9](https://github.com/dotnet/runtime/commit/98d2d533e9572678123721a78a59173daf63acf9)
Compare | [2790c60428c37ef3c0a33941e10f867aa79c51b7](https://github.com/dotnet/runtime/commit/2790c60428c37ef3c0a33941e10f867aa79c51b7)
Diff | [Diff](https://github.com/dotnet/runtime/compare/98d2d533e9572678123721a78a59173daf63acf9...2790c60428c37ef3c0a33941e10f867aa79c51b7)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.IO.Tests.MemoryStreamTests

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [WriteByte - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 153.41 μs | 131.59 μs | 0.86 | 0.01 | False | | |
|
  • [WriteByte - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.40 μs | 2.09 μs | 0.87 | 0.01 | False | | |

![graph]()
![graph]()
[Test Report]()

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

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

### System.IO.Tests.MemoryStreamTests.WriteByte(Size: 65536)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.IO.Tests.MemoryStreamTests.WriteByte(Size: 1024)

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

---

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [98d2d533e9572678123721a78a59173daf63acf9](https://github.com/dotnet/runtime/commit/98d2d533e9572678123721a78a59173daf63acf9)
Compare | [2790c60428c37ef3c0a33941e10f867aa79c51b7](https://github.com/dotnet/runtime/commit/2790c60428c37ef3c0a33941e10f867aa79c51b7)
Diff | [Diff](https://github.com/dotnet/runtime/compare/98d2d533e9572678123721a78a59173daf63acf9...2790c60428c37ef3c0a33941e10f867aa79c51b7)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Threading.Channels.Tests.UnboundedChannelPerfTests

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [PingPong - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 28.90 ms | 13.39 ms | 0.46 | 0.39 | False | | |

![graph]()
[Test Report]()

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

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

### System.Threading.Channels.Tests.UnboundedChannelPerfTests.PingPong

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

---

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [98d2d533e9572678123721a78a59173daf63acf9](https://github.com/dotnet/runtime/commit/98d2d533e9572678123721a78a59173daf63acf9)
Compare | [2790c60428c37ef3c0a33941e10f867aa79c51b7](https://github.com/dotnet/runtime/commit/2790c60428c37ef3c0a33941e10f867aa79c51b7)
Diff | [Diff](https://github.com/dotnet/runtime/compare/98d2d533e9572678123721a78a59173daf63acf9...2790c60428c37ef3c0a33941e10f867aa79c51b7)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Threading.Channels.Tests.BoundedChannelPerfTests

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [PingPong - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 27.01 ms | 13.12 ms | 0.49 | 0.42 | False | | |

![graph]()
[Test Report]()

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

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

### System.Threading.Channels.Tests.BoundedChannelPerfTests.PingPong

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

---

### Run Information

Name | Value
-- | --
Architecture | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [98d2d533e9572678123721a78a59173daf63acf9](https://github.com/dotnet/runtime/commit/98d2d533e9572678123721a78a59173daf63acf9)
Compare | [2790c60428c37ef3c0a33941e10f867aa79c51b7](https://github.com/dotnet/runtime/commit/2790c60428c37ef3c0a33941e10f867aa79c51b7)
Diff | [Diff](https://github.com/dotnet/runtime/compare/98d2d533e9572678123721a78a59173daf63acf9...2790c60428c37ef3c0a33941e10f867aa79c51b7)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Threading.Channels.Tests.SpscUnboundedChannelPerfTests

Benchmark | Baseline | Test | Test/Base | Test Quality | Edge Detector | Baseline IR | Compare IR | IR Ratio
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [PingPong - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 26.91 ms | 10.88 ms | 0.40 | 0.34 | False | | |

![graph]()
[Test Report]()

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

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

### System.Threading.Channels.Tests.SpscUnboundedChannelPerfTests.PingPong

#### ETL Files

#### Histogram

#### JIT Disasms

### Docs

[Profiling workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/profiling-workflow-dotnet-runtime.md)
[Benchmarking workflow for dotnet/runtime repository](https://github.com/dotnet/performance/blob/master/docs/benchmarking-workflow-dotnet-runtime.md)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the run information and the linked benchmark entries for System.Linq.Tests.Perf_Enumerable, especially src/benchmarks/micro/libraries/System.Linq/Perf.Enumerable.cs. Compare the baseline and test commits and inspect the reported benchmark history; completion is not defined by the issue and would require determining what follow-up, if any, the automated improvement report needs.

Written by the indexing model from the issue text.

Assessment

Tech stack
linux, ubuntu
Domain
performance
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.