dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 7 Improvements on 9/1/2026 5:28:08 AM +00:00

Open
#79,124 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 | [ef3efe5e020e412e4f6453781d59443e975010a4](https://github.com/dotnet/runtime/commit/ef3efe5e020e412e4f6453781d59443e975010a4)
Compare | [818ad35699cf9b1a3e3f2067c133d8dbe599da2e](https://github.com/dotnet/runtime/commit/818ad35699cf9b1a3e3f2067c133d8dbe599da2e)
Diff | [Diff](https://github.com/dotnet/runtime/compare/ef3efe5e020e412e4f6453781d59443e975010a4...818ad35699cf9b1a3e3f2067c133d8dbe599da2e)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

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

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

  • [HashSet - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.65 μs | 1.32 μs | 0.80 | 0.17 | False | | |
|
  • [OrderedDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 1.65 μs | 1.38 μs | 0.84 | 0.23 | False | | |
|
  • [Dictionary - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.66 μs | 1.40 μs | 0.84 | 0.22 | False | | |
|
  • [ConcurrentDictionary - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 4.07 μs | 3.70 μs | 0.91 | 0.19 | 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.Collections.CtorDefaultSize*'
```

### System.Collections.CtorDefaultSize<String>.HashSet

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorDefaultSize<String>.OrderedDictionary

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorDefaultSize<String>.Dictionary

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorDefaultSize<String>.ConcurrentDictionary

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

### Improvements in Microsoft.Extensions.DependencyInjection.GetService

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

  • [Singleton - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.38 μs | 1.25 μs | 0.91 | 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 'Microsoft.Extensions.DependencyInjection.GetService*'
```

### Microsoft.Extensions.DependencyInjection.GetService.Singleton

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

### Improvements in System.Collections.Perf_Frozen<ReferenceType>

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

  • [ToFrozenDictionary - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 7.90 μs | 7.00 μs | 0.89 | 0.25 | 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.Perf_Frozen*'
```

### System.Collections.Perf_Frozen<ReferenceType>.ToFrozenDictionary(Count: 4)

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

### Improvements in System.IO.Tests.Perf_Directory

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

  • [GetCurrentDirectory - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.24 μs | 1.79 μs | 0.80 | 0.13 | 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.IO.Tests.Perf_Directory*'
```

### System.IO.Tests.Perf_Directory.GetCurrentDirectory

#### 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, including src/benchmarks/micro/libraries/System.Collections/Create/CtorDefaultSize.cs and Microsoft.Extensions.DependencyInjection/GetServiceBenchmark.cs. Run the listed benchmarks_ci.py commands and inspect the linked test reports and baseline/compare data. Done means the reported improvement is understood, reproduced, and addressed with validated benchmark results.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, linux, python, ubuntu, wasm
Domain
performance, testing
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.