dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 5 Improvements on 8/3/2026 7:26:34 AM +00:00

Open
#77,454 1 comment 0 reactions 0 assignees View on GitHub
aot-true arch-wasm arch-x64 branch-refs/heads/main compilationmode-wasm kind-micro os-linux perf-improvement runkind-micro untriaged wasm-aot
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 | [79efd2de59f086171fd811d7375241616c43b890](https://github.com/dotnet/runtime/commit/79efd2de59f086171fd811d7375241616c43b890)
Compare | [c4fc2a5afc5644e10973054b1aa63c27a1584404](https://github.com/dotnet/runtime/commit/c4fc2a5afc5644e10973054b1aa63c27a1584404)
Diff | [Diff](https://github.com/dotnet/runtime/compare/79efd2de59f086171fd811d7375241616c43b890...c4fc2a5afc5644e10973054b1aa63c27a1584404)
Configs | AOT:true, CompilationMode:wasm, RunKind:micro

### Improvements in System.Collections.Tests.Perf_PriorityQueue<Guid, Guid>

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

  • [K_Max_Elements - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.70 μs | 3.24 μs | 0.88 | 0.16 | False | | |
|
  • [Dequeue_And_Enqueue - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 11.89 μs | 10.66 μs | 0.90 | 0.20 | False | | |
|
  • [HeapSort - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 4.41 μs | 4.02 μs | 0.91 | 0.12 | False | | |

![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.Tests.Perf_PriorityQueue*'
```

### System.Collections.Tests.Perf_PriorityQueue<Guid, Guid>.K_Max_Elements(Size: 10)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.Tests.Perf_PriorityQueue<Guid, Guid>.Dequeue_And_Enqueue(Size: 10)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.Tests.Perf_PriorityQueue<Guid, Guid>.HeapSort(Size: 10)

#### 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 | [79efd2de59f086171fd811d7375241616c43b890](https://github.com/dotnet/runtime/commit/79efd2de59f086171fd811d7375241616c43b890)
Compare | [c4fc2a5afc5644e10973054b1aa63c27a1584404](https://github.com/dotnet/runtime/commit/c4fc2a5afc5644e10973054b1aa63c27a1584404)
Diff | [Diff](https://github.com/dotnet/runtime/compare/79efd2de59f086171fd811d7375241616c43b890...c4fc2a5afc5644e10973054b1aa63c27a1584404)
Configs | AOT:true, CompilationMode:wasm, RunKind:micro

### Improvements in System.Text.Json.Tests.Perf_Booleans

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

  • [WriteBooleans - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.19 ms | 2.15 ms | 0.67 | 0.25 | False | | |
|
  • [WriteBooleans - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.77 ms | 2.23 ms | 0.81 | 0.29 | 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.Text.Json.Tests.Perf_Booleans*'
```

### System.Text.Json.Tests.Perf_Booleans.WriteBooleans(Formatted: False, SkipValidation: True)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Text.Json.Tests.Perf_Booleans.WriteBooleans(Formatted: False, SkipValidation: 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)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the benchmark sources linked in the report: src/benchmarks/micro/libraries/System.Collections/PriorityQueue/Perf_PriorityQueue.cs and src/benchmarks/micro/libraries/System.Text.Json/Utf8JsonWriter/Perf.Booleans.cs. Run the documented benchmarks_ci.py command and compare the baseline and test commits, then use the linked reports to investigate the reported improvements. Done means the performance change is explained and the issue has a documented conclusion.

Written by the indexing model from the issue text.

Assessment

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