dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 5 Improvements on 8/13/2026 4:11:41 PM +00:00

Open
#78,034 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 | [63ae268826a5091dfc89baa49844df1aed874a95](https://github.com/dotnet/runtime/commit/63ae268826a5091dfc89baa49844df1aed874a95)
Compare | [d00a0a24912957046ed2443adc0af7bbfb4c43bc](https://github.com/dotnet/runtime/commit/d00a0a24912957046ed2443adc0af7bbfb4c43bc)
Diff | [Diff](https://github.com/dotnet/runtime/compare/63ae268826a5091dfc89baa49844df1aed874a95...d00a0a24912957046ed2443adc0af7bbfb4c43bc)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

### Improvements in Microsoft.Extensions.Caching.Memory.Tests.MemoryCacheTests

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

  • [TryGetValueHit - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.73 μs | 2.11 μs | 0.56 | 0.25 | False | | |
|
  • [TryGetValueMiss - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.23 μs | 2.04 μs | 0.63 | 0.23 | 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 'Microsoft.Extensions.Caching.Memory.Tests.MemoryCacheTests*'
```

### Microsoft.Extensions.Caching.Memory.Tests.MemoryCacheTests.TryGetValueHit

#### ETL Files

#### Histogram

#### JIT Disasms

### Microsoft.Extensions.Caching.Memory.Tests.MemoryCacheTests.TryGetValueMiss

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

### Improvements in PerfLabTests.CastingPerf

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

  • [CheckArrayIsArrayByVariance - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 801.48 ns | 562.15 ns | 0.70 | 0.26 | False | | |
|
  • [CheckListIsVariantGenericInterface - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 787.48 ns | 594.16 ns | 0.75 | 0.24 | 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 'PerfLabTests.CastingPerf*'
```

### PerfLabTests.CastingPerf.CheckArrayIsArrayByVariance

#### ETL Files

#### Histogram

#### JIT Disasms

### PerfLabTests.CastingPerf.CheckListIsVariantGenericInterface

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

  • [ToFrozenSet - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 692.34 μs | 491.88 μs | 0.71 | 0.42 | 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>.ToFrozenSet(Count: 64)

#### 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/Microsoft.Extensions.Caching.Memory/MemoryCacheTests.cs and src/benchmarks/micro/runtime/perflab/CastingPerf.cs. Run the provided benchmarks_ci.py filters and compare the linked reports with the baseline and compare commits. Done requires understanding and triaging the reported performance changes; the issue does not specify a code change.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, linux, ubuntu, wasm
Domain
performance, testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.