dotnet / dotnet/perf-autofiling-issues

[Perf] Windows/x64: 12 Improvements on 4/18/2026 4:02:25 PM +00:00

Open
#71,673 0 comments 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 | [38af44d518908fa536ef289d62c73706769d18ab](https://github.com/dotnet/runtime/commit/38af44d518908fa536ef289d62c73706769d18ab)
Compare | [b70c35ed8a2e7ae0d91de76f4f5d26c2e7d2c6cd](https://github.com/dotnet/runtime/commit/b70c35ed8a2e7ae0d91de76f4f5d26c2e7d2c6cd)
Diff | [Diff](https://github.com/dotnet/runtime/compare/38af44d518908fa536ef289d62c73706769d18ab...b70c35ed8a2e7ae0d91de76f4f5d26c2e7d2c6cd)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Tests.Perf_Half

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

  • [SingleToHalf - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.98 ns | 1.62 ns | 0.54 | 0.01 | False | | |
|
  • [HalfToSingle - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.98 ns | 1.63 ns | 0.55 | 0.01 | False | | |
|
  • [SingleToHalf - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.98 ns | 1.62 ns | 0.55 | 0.01 | False | | |
|
  • [HalfToSingle - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.98 ns | 1.63 ns | 0.55 | 0.01 | False | | |

![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
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Tests.Perf_Half*'
```

### System.Tests.Perf_Half.SingleToHalf(value: 12345)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_Half.HalfToSingle(value: NaN)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_Half.SingleToHalf(value: 6.097555E-05)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Tests.Perf_Half.HalfToSingle(value: 6.1E-05)

#### 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 | [38af44d518908fa536ef289d62c73706769d18ab](https://github.com/dotnet/runtime/commit/38af44d518908fa536ef289d62c73706769d18ab)
Compare | [b70c35ed8a2e7ae0d91de76f4f5d26c2e7d2c6cd](https://github.com/dotnet/runtime/commit/b70c35ed8a2e7ae0d91de76f4f5d26c2e7d2c6cd)
Diff | [Diff](https://github.com/dotnet/runtime/compare/38af44d518908fa536ef289d62c73706769d18ab...b70c35ed8a2e7ae0d91de76f4f5d26c2e7d2c6cd)
Configs | CompilationMode:tiered, RunKind:micro

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

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

  • [ICollection - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.49 μs | 1.96 μs | 0.79 | 0.31 | False | | |
|
  • [Stack - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.47 μs | 2.11 μs | 0.86 | 0.22 | False | | |
|
  • [List - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.33 μs | 2.07 μs | 0.89 | 0.30 | 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
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.CreateAddAndClear*'
```

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

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CreateAddAndClear<String>.Stack(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CreateAddAndClear<String>.List(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 | Windows 10.0.22631
Queue | ViperWindows
Baseline | [38af44d518908fa536ef289d62c73706769d18ab](https://github.com/dotnet/runtime/commit/38af44d518908fa536ef289d62c73706769d18ab)
Compare | [b70c35ed8a2e7ae0d91de76f4f5d26c2e7d2c6cd](https://github.com/dotnet/runtime/commit/b70c35ed8a2e7ae0d91de76f4f5d26c2e7d2c6cd)
Diff | [Diff](https://github.com/dotnet/runtime/compare/38af44d518908fa536ef289d62c73706769d18ab...b70c35ed8a2e7ae0d91de76f4f5d26c2e7d2c6cd)
Configs | CompilationMode:tiered, RunKind:micro

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

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

  • [ICollection - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.11 μs | 1.45 μs | 0.69 | 0.45 | False | | |
|
  • [Stack - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.06 μs | 1.49 μs | 0.72 | 0.38 | False | | |
|
  • [List - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.10 μs | 1.54 μs | 0.73 | 0.36 | 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
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.AddGivenSize*'
```

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

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.AddGivenSize<String>.Stack(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.AddGivenSize<String>.List(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 | Windows 10.0.22631
Queue | ViperWindows
Baseline | [38af44d518908fa536ef289d62c73706769d18ab](https://github.com/dotnet/runtime/commit/38af44d518908fa536ef289d62c73706769d18ab)
Compare | [b70c35ed8a2e7ae0d91de76f4f5d26c2e7d2c6cd](https://github.com/dotnet/runtime/commit/b70c35ed8a2e7ae0d91de76f4f5d26c2e7d2c6cd)
Diff | [Diff](https://github.com/dotnet/runtime/compare/38af44d518908fa536ef289d62c73706769d18ab...b70c35ed8a2e7ae0d91de76f4f5d26c2e7d2c6cd)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in System.Collections.Perf_LengthBucketsFrozenDictionary

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

  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 11.51 μs | 9.15 μs | 0.80 | 0.51 | False | | |
|
  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 10.46 μs | 9.14 μs | 0.87 | 0.49 | 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.Perf_LengthBucketsFrozenDictionary*'
```

### System.Collections.Perf_LengthBucketsFrozenDictionary.ToFrozenDictionary(Count: 1000, ItemsPerBucket: 5)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.Perf_LengthBucketsFrozenDictionary.ToFrozenDictionary(Count: 1000, ItemsPerBucket: 1)

#### 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

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.