dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/arm64: 7 Improvements on 8/8/2026 5:46:44 AM +00:00

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

### Improvements in Exceptions.Handling

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

  • [ThrowAndCatchDeepRecursive - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 7.29 μs | 6.63 μs | 0.91 | 0.06 | False | | |
|
  • [ThrowAndCatchDeep - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 6.78 μs | 6.25 μs | 0.92 | 0.05 | False | | |
|
  • [ThrowAndCatchDeepRecursive - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 11.72 μs | 10.82 μs | 0.92 | 0.06 | False | | |
|
  • [TryAndCatchDeep_CaugtAtTheTop - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 8.56 μs | 8.01 μs | 0.94 | 0.09 | 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 'Exceptions.Handling*'
```

### Exceptions.Handling.ThrowAndCatchDeepRecursive(kind: Software)

#### ETL Files

#### Histogram

#### JIT Disasms

### Exceptions.Handling.ThrowAndCatchDeep(kind: Software)

#### ETL Files

#### Histogram

#### JIT Disasms

### Exceptions.Handling.ThrowAndCatchDeepRecursive(kind: ReflectionSoftware)

#### ETL Files

#### Histogram

#### JIT Disasms

### Exceptions.Handling.TryAndCatchDeep_CaugtAtTheTop(kind: Software)

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

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

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]()
| 186.18 ns | 153.53 ns | 0.82 | 0.03 | False | | |
|
  • [AllocateArray - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 98.93 ns | 85.39 ns | 0.86 | 0.07 | 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<Byte>.AllocateUninitializedArray(length: 10000, pinned: False)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_GC<Byte>.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 | [f659b2cb8bff3a94be0adaec91c6775c1774a056](https://github.com/dotnet/runtime/commit/f659b2cb8bff3a94be0adaec91c6775c1774a056)
Compare | [d9162a8b5629465d37d6881f377e5773c202d1f7](https://github.com/dotnet/runtime/commit/d9162a8b5629465d37d6881f377e5773c202d1f7)
Diff | [Diff](https://github.com/dotnet/runtime/compare/f659b2cb8bff3a94be0adaec91c6775c1774a056...d9162a8b5629465d37d6881f377e5773c202d1f7)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Tests.Perf_Type

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

  • [GetType_InvalidName - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 677.50 ns | 632.58 ns | 0.93 | 0.03 | 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.Tests.Perf_Type*'
```

### System.Tests.Perf_Type.GetType_InvalidName

#### 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 benchmark source in performance/src/benchmarks/micro/runtime/Exceptions/Handling.cs and the linked improvement reports for the arm64 Ubuntu run. Reproduce the listed Exceptions.Handling benchmarks with benchmarks_ci.py, then compare the reported results and determine whether the improvements require follow-up; the issue does not define a code change or other completion criterion.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.