dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 9 Improvements on 6/18/2026 2:00:10 PM +00:00

Open
#75,418 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 | [8f2341959451d05a276af3760b45b16310a19baf](https://github.com/dotnet/runtime/commit/8f2341959451d05a276af3760b45b16310a19baf)
Compare | [b1ea6ff8a102c76f5f8ffdf55a8a2a7fc40de61b](https://github.com/dotnet/runtime/commit/b1ea6ff8a102c76f5f8ffdf55a8a2a7fc40de61b)
Diff | [Diff](https://github.com/dotnet/runtime/compare/8f2341959451d05a276af3760b45b16310a19baf...b1ea6ff8a102c76f5f8ffdf55a8a2a7fc40de61b)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

### Improvements in System.Tests.Perf_Byte

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

  • [Parse - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.82 μs | 1.86 μs | 0.66 | 0.27 | False | | |
|
  • [TryParse - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1473.21 ns | 972.97 ns | 0.66 | 0.21 | False | | |
|
  • [Parse - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.41 μs | 1.04 μs | 0.73 | 0.25 | False | | |
|
  • [TryParse - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.33 μs | 1.75 μs | 0.75 | 0.21 | False | | |
|
  • [ToString - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 192.38 ns | 161.45 ns | 0.84 | 0.21 | False | | |

![graph]()
![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.Tests.Perf_Byte*'
```

### System.Tests.Perf_Byte.Parse(value: "255")

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_Byte.TryParse(value: "0")

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_Byte.Parse(value: "0")

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_Byte.TryParse(value: "255")

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_Byte.ToString(value: 255)

#### 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 | [8f2341959451d05a276af3760b45b16310a19baf](https://github.com/dotnet/runtime/commit/8f2341959451d05a276af3760b45b16310a19baf)
Compare | [b1ea6ff8a102c76f5f8ffdf55a8a2a7fc40de61b](https://github.com/dotnet/runtime/commit/b1ea6ff8a102c76f5f8ffdf55a8a2a7fc40de61b)
Diff | [Diff](https://github.com/dotnet/runtime/compare/8f2341959451d05a276af3760b45b16310a19baf...b1ea6ff8a102c76f5f8ffdf55a8a2a7fc40de61b)
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
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [Span - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 290.04 ms | 129.87 ms | 0.45 | 0.33 | False | | |
|
  • [ICollection - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 19.43 ms | 16.09 ms | 0.83 | 0.32 | False | | |
|
  • [Queue - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 18.94 ms | 16.06 ms | 0.85 | 0.32 | 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.ContainsTrue*'
```

### System.Collections.ContainsTrue<String>.Span(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.ContainsTrue<String>.ICollection(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.ContainsTrue<String>.Queue(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 | [8f2341959451d05a276af3760b45b16310a19baf](https://github.com/dotnet/runtime/commit/8f2341959451d05a276af3760b45b16310a19baf)
Compare | [b1ea6ff8a102c76f5f8ffdf55a8a2a7fc40de61b](https://github.com/dotnet/runtime/commit/b1ea6ff8a102c76f5f8ffdf55a8a2a7fc40de61b)
Diff | [Diff](https://github.com/dotnet/runtime/compare/8f2341959451d05a276af3760b45b16310a19baf...b1ea6ff8a102c76f5f8ffdf55a8a2a7fc40de61b)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

### Improvements in System.Collections.ContainsKeyFalse<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]()
| 18.68 ms | 13.67 ms | 0.73 | 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.ContainsKeyFalse*'
```

### System.Collections.ContainsKeyFalse<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)

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.Runtime/Perf.Byte.cs and src/benchmarks/micro/libraries/System.Collections/Contains/ContainsTrue.cs. Read the benchmarking workflow, then run benchmarks_ci.py with the listed System.Tests.Perf_Byte filter and compare results with the supplied baseline. Done requires determining whether the reported improvements are reproducible and what runtime change, if any, explains them.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.