dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 3 Improvements on 7/27/2026 11:29:43 AM +00:00

Open
#77,313 1 comment 0 reactions 0 assignees View on GitHub
arch-wasm arch-x64 branch-refs/heads/main compilationmode-wasm kind-micro Look Again os-linux perf-improvement runkind-micro runtimetype-coreclr untriaged
Dominant language
No language data
Stars
10
Forks
8
PR merge metrics
PR metrics pending

Description

### Run Information

Name | Value
-- | --
Architecture | x64
OS | ubuntu 22.04
Queue | ViperUbuntu
Baseline | [2aa2ce008a33a25ac77f4f340b628e135b94087f](https://github.com/dotnet/runtime/commit/2aa2ce008a33a25ac77f4f340b628e135b94087f)
Compare | [da6081391e5d3227e462c082b345af8720db05c1](https://github.com/dotnet/runtime/commit/da6081391e5d3227e462c082b345af8720db05c1)
Diff | [Diff](https://github.com/dotnet/runtime/compare/2aa2ce008a33a25ac77f4f340b628e135b94087f...da6081391e5d3227e462c082b345af8720db05c1)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

### 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]()
| 2.83 μs | 1.82 μs | 0.64 | 0.28 | False | | |
|
  • [NotFiltered - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.47 μs | 3.19 μs | 0.92 | 0.28 | 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: False)

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.NotFiltered(HasISupportLoggingScopeLogger: False, CaptureScopes: 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 | x64
OS | ubuntu 22.04
Queue | ViperUbuntu
Baseline | [2aa2ce008a33a25ac77f4f340b628e135b94087f](https://github.com/dotnet/runtime/commit/2aa2ce008a33a25ac77f4f340b628e135b94087f)
Compare | [da6081391e5d3227e462c082b345af8720db05c1](https://github.com/dotnet/runtime/commit/da6081391e5d3227e462c082b345af8720db05c1)
Diff | [Diff](https://github.com/dotnet/runtime/compare/2aa2ce008a33a25ac77f4f340b628e135b94087f...da6081391e5d3227e462c082b345af8720db05c1)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

### Improvements in System.Collections.CtorFromCollection<String>

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

  • [SortedDictionary - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 24.73 ms | 18.39 ms | 0.74 | 0.28 | 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.Collections.CtorFromCollection*'
```

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

#### 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 named in src/benchmarks/micro/libraries/Microsoft.Extensions.Logging/ScopesOverheadBenchmark.cs and src/benchmarks/micro/libraries/System.Collections/Create/CtorFromCollection.cs. Read the benchmarking workflow and run the listed filters with scripts/benchmarks_ci.py to verify the reported improvements. Done means determining whether the measurements represent an actionable runtime change and recording the resulting triage or follow-up.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, python, wasm
Domain
performance, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.