dotnet / dotnet/perf-autofiling-issues

[Perf] Windows/x86: 6 Improvements on 8/14/2026 4:30:00 PM +00:00

Open
#78,015 1 comment 0 reactions 0 assignees View on GitHub
arch-x86 branch-refs/heads/main compilationmode-tiered kind-micro Look Again 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 | x86
OS | Windows 10.0.22631
Queue | ViperWindows
Baseline | [691fd960eb500743b4be71373b11b2263bdbc318](https://github.com/dotnet/runtime/commit/691fd960eb500743b4be71373b11b2263bdbc318)
Compare | [6276bd4a23e9e21597ccccba91f908917bc8e189](https://github.com/dotnet/runtime/commit/6276bd4a23e9e21597ccccba91f908917bc8e189)
Diff | [Diff](https://github.com/dotnet/runtime/compare/691fd960eb500743b4be71373b11b2263bdbc318...6276bd4a23e9e21597ccccba91f908917bc8e189)
Configs | CompilationMode:tiered, RunKind:micro

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

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

  • [Queue - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.80 μs | 1.40 μs | 0.78 | 0.27 | False | | |
|
  • [HashSet - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.67 μs | 1.40 μs | 0.84 | 0.15 | 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
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.IterateForEach*'
```

### System.Collections.IterateForEach<String>.Queue(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.IterateForEach<String>.HashSet(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 | x86
OS | Windows 10.0.22631
Queue | ViperWindows
Baseline | [691fd960eb500743b4be71373b11b2263bdbc318](https://github.com/dotnet/runtime/commit/691fd960eb500743b4be71373b11b2263bdbc318)
Compare | [6276bd4a23e9e21597ccccba91f908917bc8e189](https://github.com/dotnet/runtime/commit/6276bd4a23e9e21597ccccba91f908917bc8e189)
Diff | [Diff](https://github.com/dotnet/runtime/compare/691fd960eb500743b4be71373b11b2263bdbc318...6276bd4a23e9e21597ccccba91f908917bc8e189)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in MicroBenchmarks.Serializers.Xml_FromStream<MyEventsListerViewModel>

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

  • [XmlSerializer_ - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 791.45 μs | 556.40 μs | 0.70 | 0.01 | 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 'MicroBenchmarks.Serializers.Xml_FromStream*'
```

### MicroBenchmarks.Serializers.Xml_FromStream<MyEventsListerViewModel>.XmlSerializer_

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

### Improvements in MicroBenchmarks.Serializers.Xml_FromStream<IndexViewModel>

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

  • [XmlSerializer_ - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 80.73 μs | 54.57 μs | 0.68 | 0.01 | 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 'MicroBenchmarks.Serializers.Xml_FromStream*'
```

### MicroBenchmarks.Serializers.Xml_FromStream<IndexViewModel>.XmlSerializer_

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

### Improvements in MicroBenchmarks.Serializers.Xml_FromStream<CollectionsOfPrimitives>

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

  • [XmlSerializer_ - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 686.69 μs | 379.54 μs | 0.55 | 0.04 | 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 'MicroBenchmarks.Serializers.Xml_FromStream*'
```

### MicroBenchmarks.Serializers.Xml_FromStream<CollectionsOfPrimitives>.XmlSerializer_

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

### Improvements in MicroBenchmarks.Serializers.Xml_FromStream<Location>

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

  • [XmlSerializer_ - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 5.18 μs | 3.82 μs | 0.74 | 0.01 | 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 'MicroBenchmarks.Serializers.Xml_FromStream*'
```

### MicroBenchmarks.Serializers.Xml_FromStream<Location>.XmlSerializer_

#### 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 src/benchmarks/micro/libraries/System.Collections/Iterate/IterateForEach.cs and src/benchmarks/micro/Serializers/Xml_FromStream.cs, then reproduce the listed cases with scripts/benchmarks_ci.py on Windows x86. Compare the reported baseline and test results, but note that the issue does not define a code change or acceptance threshold; completion would require identifying the cause and validating the resulting performance improvement.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
performance
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.