dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 10 Improvements on 8/31/2026 2:56:30 PM +00:00

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

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

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

  • [ConcurrentDictionary - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 6.11 μs | 4.83 μs | 0.79 | 0.17 | False | | |
|
  • [HashSet - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 7.08 μs | 5.69 μs | 0.80 | 0.10 | False | | |
|
  • [OrderedDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 7.00 μs | 5.78 μs | 0.83 | 0.15 | False | | |
|
  • [Dictionary - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 6.86 μs | 5.75 μs | 0.84 | 0.14 | 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.CtorGivenSize*'
```

### System.Collections.CtorGivenSize<String>.ConcurrentDictionary(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorGivenSize<String>.HashSet(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorGivenSize<String>.OrderedDictionary(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorGivenSize<String>.Dictionary(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 | [5b11923ecac20a8367b4ca60a9b9739479319e9a](https://github.com/dotnet/runtime/commit/5b11923ecac20a8367b4ca60a9b9739479319e9a)
Compare | [ef3efe5e020e412e4f6453781d59443e975010a4](https://github.com/dotnet/runtime/commit/ef3efe5e020e412e4f6453781d59443e975010a4)
Diff | [Diff](https://github.com/dotnet/runtime/compare/5b11923ecac20a8367b4ca60a9b9739479319e9a...ef3efe5e020e412e4f6453781d59443e975010a4)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

### Improvements in System.Collections.CtorGivenSize<Int32>

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]()
| 5.38 μs | 4.16 μs | 0.77 | 0.14 | False | | |
|
  • [ConcurrentDictionary - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 4.28 μs | 3.45 μs | 0.81 | 0.20 | False | | |
|
  • [Dictionary - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 5.22 μs | 4.35 μs | 0.83 | 0.16 | False | | |
|
  • [OrderedDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 5.33 μs | 4.47 μs | 0.84 | 0.11 | 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.CtorGivenSize*'
```

### System.Collections.CtorGivenSize<Int32>.HashSet(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorGivenSize<Int32>.ConcurrentDictionary(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorGivenSize<Int32>.Dictionary(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorGivenSize<Int32>.OrderedDictionary(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 | [5b11923ecac20a8367b4ca60a9b9739479319e9a](https://github.com/dotnet/runtime/commit/5b11923ecac20a8367b4ca60a9b9739479319e9a)
Compare | [ef3efe5e020e412e4f6453781d59443e975010a4](https://github.com/dotnet/runtime/commit/ef3efe5e020e412e4f6453781d59443e975010a4)
Diff | [Diff](https://github.com/dotnet/runtime/compare/5b11923ecac20a8367b4ca60a9b9739479319e9a...ef3efe5e020e412e4f6453781d59443e975010a4)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

### Improvements in System.Collections.CtorGivenSizeNonGeneric

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

  • [Hashtable - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 6.06 μs | 4.71 μs | 0.78 | 0.12 | 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.CtorGivenSizeNonGeneric*'
```

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

### Improvements in System.Text.Json.Node.Tests.Perf_Create

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

  • [Create_JsonObject_Small - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 28.63 μs | 26.77 μs | 0.94 | 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.Text.Json.Node.Tests.Perf_Create*'
```

### System.Text.Json.Node.Tests.Perf_Create.Create_JsonObject_Small

#### 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 at src/benchmarks/micro/libraries/System.Collections/Create/CtorGivenSize.cs and reproduce the filtered run using scripts/benchmarks_ci.py. Compare the listed baseline and test results, then use the linked test report and profiling workflow to determine whether the improvement has an actionable cause; done requires a documented conclusion or follow-up.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.