dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 6 Improvements on 9/8/2026 6:56:23 PM +00:00

Open
#79,419 1 comment 0 reactions 0 assignees View on GitHub
arch-wasm arch-x64 branch-refs/heads/main compilationmode-wasm kind-micro 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 | [b5881242dc356bd8c464026387545f2684079d30](https://github.com/dotnet/runtime/commit/b5881242dc356bd8c464026387545f2684079d30)
Compare | [6b1fb3c43c8a5478c592813ee2e263fe4375af4c](https://github.com/dotnet/runtime/commit/6b1fb3c43c8a5478c592813ee2e263fe4375af4c)
Diff | [Diff](https://github.com/dotnet/runtime/compare/b5881242dc356bd8c464026387545f2684079d30...6b1fb3c43c8a5478c592813ee2e263fe4375af4c)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

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

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

  • [Array - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 748.84 ms | 265.38 ms | 0.35 | 0.22 | 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.ContainsFalse*'
```

### System.Collections.ContainsFalse<String>.Array(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)

---

### Run Information

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

### Improvements in System.Collections.TryGetValueTrue<String, String>

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

  • [ImmutableSortedDictionary - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 22.41 ms | 17.59 ms | 0.78 | 0.23 | 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.TryGetValueTrue*'
```

### System.Collections.TryGetValueTrue<String, String>.ImmutableSortedDictionary(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)

---

### Run Information

Name | Value
-- | --
Architecture | x64
OS | ubuntu 22.04
Queue | ViperUbuntu
Baseline | [b5881242dc356bd8c464026387545f2684079d30](https://github.com/dotnet/runtime/commit/b5881242dc356bd8c464026387545f2684079d30)
Compare | [6b1fb3c43c8a5478c592813ee2e263fe4375af4c](https://github.com/dotnet/runtime/commit/6b1fb3c43c8a5478c592813ee2e263fe4375af4c)
Diff | [Diff](https://github.com/dotnet/runtime/compare/b5881242dc356bd8c464026387545f2684079d30...6b1fb3c43c8a5478c592813ee2e263fe4375af4c)
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]()
| 3.72 μs | 1.96 μs | 0.53 | 0.26 | 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 'Microsoft.Extensions.Logging.ScopesOverheadBenchmark*'
```

### Microsoft.Extensions.Logging.ScopesOverheadBenchmark.FilteredByLevel_InsideScope(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 | [b5881242dc356bd8c464026387545f2684079d30](https://github.com/dotnet/runtime/commit/b5881242dc356bd8c464026387545f2684079d30)
Compare | [6b1fb3c43c8a5478c592813ee2e263fe4375af4c](https://github.com/dotnet/runtime/commit/6b1fb3c43c8a5478c592813ee2e263fe4375af4c)
Diff | [Diff](https://github.com/dotnet/runtime/compare/b5881242dc356bd8c464026387545f2684079d30...6b1fb3c43c8a5478c592813ee2e263fe4375af4c)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

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

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

  • [SortedSet - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 24.65 ms | 13.21 ms | 0.54 | 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.ContainsTrue*'
```

### System.Collections.ContainsTrue<String>.SortedSet(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)

---

### Run Information

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

### Improvements in System.ComponentModel.Tests.Perf_TypeDescriptorTests

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

  • [GetConverter - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 10.74 μs | 9.58 μs | 0.89 | 0.16 | 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.ComponentModel.Tests.Perf_TypeDescriptorTests*'
```

### System.ComponentModel.Tests.Perf_TypeDescriptorTests.GetConverter(typeToConvert: typeof(int?))

#### 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 | [b5881242dc356bd8c464026387545f2684079d30](https://github.com/dotnet/runtime/commit/b5881242dc356bd8c464026387545f2684079d30)
Compare | [6b1fb3c43c8a5478c592813ee2e263fe4375af4c](https://github.com/dotnet/runtime/commit/6b1fb3c43c8a5478c592813ee2e263fe4375af4c)
Diff | [Diff](https://github.com/dotnet/runtime/compare/b5881242dc356bd8c464026387545f2684079d30...6b1fb3c43c8a5478c592813ee2e263fe4375af4c)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

### Improvements in System.Collections.CreateAddAndRemove<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]()
| 48.13 ms | 36.58 ms | 0.76 | 0.27 | 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.CreateAddAndRemove*'
```

### System.Collections.CreateAddAndRemove<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 the report: src/benchmarks/micro/libraries/System.Collections/Contains/ContainsFalse.cs, TryGetValue/TryGetValueTrue.cs, and Microsoft.Extensions.Logging/ScopesOverheadBenchmark.cs. Follow docs/benchmarking-workflow-dotnet-runtime.md and run the listed benchmarks to verify the reported improvements; done means the performance results are explained and any required follow-up is identified.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.