dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/arm64: 10 Improvements on 8/7/2026 11:43:54 PM +00:00

Open
#78,250 1 comment 0 reactions 0 assignees View on GitHub
ampere arch-arm64 branch-refs/heads/main compilationmode-tiered kind-micro os-linux perf-improvement PGO 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 | [b7130aa5e416e88ac48fafe92bf56a9d64e13c97](https://github.com/dotnet/runtime/commit/b7130aa5e416e88ac48fafe92bf56a9d64e13c97)
Compare | [f5f5f83dd8676416636eda75d8c091c6c4f8d506](https://github.com/dotnet/runtime/commit/f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Diff | [Diff](https://github.com/dotnet/runtime/compare/b7130aa5e416e88ac48fafe92bf56a9d64e13c97...f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Buffers.Tests.RentReturnArrayPoolTests<Byte>

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

  • [SingleParallel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 108.98 μs | 10.55 μs | 0.10 | 0.47 | False | | |
|
  • [MultipleSerial - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 951.61 ns | 479.01 ns | 0.50 | 0.77 | False | | |
|
  • [SingleSerial - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 32.81 ns | 16.62 ns | 0.51 | 0.20 | False | | |
|
  • [SingleParallel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 22.09 μs | 13.17 μs | 0.60 | 0.76 | False | | |

![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.Buffers.Tests.RentReturnArrayPoolTests*'
```

### System.Buffers.Tests.RentReturnArrayPoolTests<Byte>.SingleParallel(RentalSize: 4096, ManipulateArray: True, Async: True, UseSharedPool: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Buffers.Tests.RentReturnArrayPoolTests<Byte>.MultipleSerial(RentalSize: 4096, ManipulateArray: False, Async: False, UseSharedPool: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Buffers.Tests.RentReturnArrayPoolTests<Byte>.SingleSerial(RentalSize: 4096, ManipulateArray: False, Async: False, UseSharedPool: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Buffers.Tests.RentReturnArrayPoolTests<Byte>.SingleParallel(RentalSize: 4096, ManipulateArray: False, Async: True, UseSharedPool: True)

#### 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 | [b7130aa5e416e88ac48fafe92bf56a9d64e13c97](https://github.com/dotnet/runtime/commit/b7130aa5e416e88ac48fafe92bf56a9d64e13c97)
Compare | [f5f5f83dd8676416636eda75d8c091c6c4f8d506](https://github.com/dotnet/runtime/commit/f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Diff | [Diff](https://github.com/dotnet/runtime/compare/b7130aa5e416e88ac48fafe92bf56a9d64e13c97...f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Buffers.Tests.RentReturnArrayPoolTests<Object>

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

  • [SingleParallel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 126.62 μs | 10.50 μs | 0.08 | 0.44 | False | | |
|
  • [SingleParallel - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 26.93 μs | 13.09 μs | 0.49 | 0.76 | False | | |
|
  • [MultipleSerial - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 749.94 ns | 516.51 ns | 0.69 | 0.83 | False | | |

![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.Buffers.Tests.RentReturnArrayPoolTests*'
```

### System.Buffers.Tests.RentReturnArrayPoolTests<Object>.SingleParallel(RentalSize: 4096, ManipulateArray: True, Async: True, UseSharedPool: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Buffers.Tests.RentReturnArrayPoolTests<Object>.SingleParallel(RentalSize: 4096, ManipulateArray: False, Async: True, UseSharedPool: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Buffers.Tests.RentReturnArrayPoolTests<Object>.MultipleSerial(RentalSize: 4096, ManipulateArray: False, Async: False, UseSharedPool: True)

#### 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 | [b7130aa5e416e88ac48fafe92bf56a9d64e13c97](https://github.com/dotnet/runtime/commit/b7130aa5e416e88ac48fafe92bf56a9d64e13c97)
Compare | [f5f5f83dd8676416636eda75d8c091c6c4f8d506](https://github.com/dotnet/runtime/commit/f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Diff | [Diff](https://github.com/dotnet/runtime/compare/b7130aa5e416e88ac48fafe92bf56a9d64e13c97...f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Tests.Perf_GC<Char>

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

  • [AllocateUninitializedArray - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 259.19 ns | 218.80 ns | 0.84 | 0.06 | False | | |
|
  • [AllocateArray - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 150.29 ns | 133.83 ns | 0.89 | 0.03 | 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.Tests.Perf_GC*'
```

### System.Tests.Perf_GC<Char>.AllocateUninitializedArray(length: 10000, pinned: False)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_GC<Char>.AllocateArray(length: 1000, pinned: False)

#### 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 | [b7130aa5e416e88ac48fafe92bf56a9d64e13c97](https://github.com/dotnet/runtime/commit/b7130aa5e416e88ac48fafe92bf56a9d64e13c97)
Compare | [f5f5f83dd8676416636eda75d8c091c6c4f8d506](https://github.com/dotnet/runtime/commit/f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Diff | [Diff](https://github.com/dotnet/runtime/compare/b7130aa5e416e88ac48fafe92bf56a9d64e13c97...f5f5f83dd8676416636eda75d8c091c6c4f8d506)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Threading.Tests.Perf_ThreadPool

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

  • [QueueUserWorkItem_WaitCallback_Throughput - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.89 secs | 2.35 secs | 0.81 | 0.66 | 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.Tests.Perf_ThreadPool*'
```

### System.Threading.Tests.Perf_ThreadPool.QueueUserWorkItem_WaitCallback_Throughput(WorkItemsPerCore: 20000000)

#### 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 src/benchmarks/micro/libraries/System.Buffers/ArrayPoolTests.cs and the linked Test Report, then reproduce the listed RentReturnArrayPoolTests cases with scripts/benchmarks_ci.py on the specified arm64 Ubuntu setup. The issue does not define a requested code change or acceptance criteria, so done requires first determining whether these reported improvements indicate an actionable runtime or benchmark problem.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.