dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/arm64: 4 Improvements on 8/11/2026 4:34:13 PM +00:00

Open
#78,255 1 comment 0 reactions 0 assignees View on GitHub
ampere arch-arm64 branch-refs/heads/main compilationmode-tiered kind-micro Look Again 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 | [795badfa03d01074a359ce0b65da2213043ee78c](https://github.com/dotnet/runtime/commit/795badfa03d01074a359ce0b65da2213043ee78c)
Compare | [633ab1a41439ad2405ba2eb241295ba1842fcf5a](https://github.com/dotnet/runtime/commit/633ab1a41439ad2405ba2eb241295ba1842fcf5a)
Diff | [Diff](https://github.com/dotnet/runtime/compare/795badfa03d01074a359ce0b65da2213043ee78c...633ab1a41439ad2405ba2eb241295ba1842fcf5a)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Collections.CtorDefaultSizeNonGeneric

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

  • [SortedList - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 45.16 ns | 26.99 ns | 0.60 | 0.66 | False | | |
|
  • [ArrayList - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 13.04 ns | 9.30 ns | 0.71 | 0.66 | 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.CtorDefaultSizeNonGeneric*'
```

### System.Collections.CtorDefaultSizeNonGeneric.SortedList

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorDefaultSizeNonGeneric.ArrayList

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

### Improvements in Microsoft.Extensions.Logging.ScopesOverheadBenchmark

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

  • [FilteredByLevel_InsideScope - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 118.41 ns | 92.99 ns | 0.79 | 0.52 | False | | |
|
  • [NotFiltered_InsideScope - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 152.58 ns | 124.48 ns | 0.82 | 0.37 | 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 'Microsoft.Extensions.Logging.ScopesOverheadBenchmark*'
```

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.FilteredByLevel_InsideScope(HasISupportLoggingScopeLogger: True, CaptureScopes: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.NotFiltered_InsideScope(HasISupportLoggingScopeLogger: True, CaptureScopes: 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)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the benchmark sources linked in CtorDefaultSizeNonGeneric.cs and ScopesOverheadBenchmark.cs, then read the benchmarking and profiling workflow documents. Run the provided benchmarks on the stated configuration and compare the reported results; done requires a triaged explanation or follow-up for the four reported improvements.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.