dotnet / dotnet/perf-autofiling-issues

[Perf] Windows/x64: 2 Improvements on 7/10/2026 8:58:27 AM +00:00

Open
#76,152 1 comment 0 reactions 0 assignees View on GitHub
arch-x64 branch-refs/heads/main compilationmode-tiered kind-micro os-windows perf-improvement runkind-micro runtime-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 | Windows 10.0.22631
Queue | ViperWindows
Baseline | [34379cf2d31415960357ba887aa41c2ce5d7f42c](https://github.com/dotnet/runtime/commit/34379cf2d31415960357ba887aa41c2ce5d7f42c)
Compare | [7a4bdd9b9001c097875ad0e085759b687a524291](https://github.com/dotnet/runtime/commit/7a4bdd9b9001c097875ad0e085759b687a524291)
Diff | [Diff](https://github.com/dotnet/runtime/compare/34379cf2d31415960357ba887aa41c2ce5d7f42c...7a4bdd9b9001c097875ad0e085759b687a524291)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in Interop.StructureToPtr

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

  • [MarshalPtrToStructure - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 63.76 ns | 44.95 ns | 0.71 | 0.45 | 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
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'Interop.StructureToPtr*'
```

### Interop.StructureToPtr.MarshalPtrToStructure

#### 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 | Windows 10.0.22631
Queue | ViperWindows
Baseline | [34379cf2d31415960357ba887aa41c2ce5d7f42c](https://github.com/dotnet/runtime/commit/34379cf2d31415960357ba887aa41c2ce5d7f42c)
Compare | [7a4bdd9b9001c097875ad0e085759b687a524291](https://github.com/dotnet/runtime/commit/7a4bdd9b9001c097875ad0e085759b687a524291)
Diff | [Diff](https://github.com/dotnet/runtime/compare/34379cf2d31415960357ba887aa41c2ce5d7f42c...7a4bdd9b9001c097875ad0e085759b687a524291)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Threading.Tests.Perf_CancellationToken

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

  • [CreateManyRegisterMultipleDispose - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 192.20 ns | 157.62 ns | 0.82 | 0.37 | 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
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Threading.Tests.Perf_CancellationToken*'
```

### System.Threading.Tests.Perf_CancellationToken.CreateManyRegisterMultipleDispose

#### 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 at src/benchmarks/micro/runtime/Interop/StructureToPtr.cs and src/benchmarks/micro/libraries/System.Threading/Perf.CancellationToken.cs. Run the provided benchmarks_ci.py commands and review the linked test reports, graphs, and profiling workflow documentation. Done means determining whether the reported improvements require a runtime change or further investigation.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
43/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.