dotnet / dotnet/perf-autofiling-issues

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

Open
#71,987 0 comments 0 reactions 0 assignees View on GitHub
arch-x64 branch-refs/heads/main compilationmode-tiered kind-micro os-linux 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 | ubuntu 22.04
Queue | ViperUbuntu
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]()
| 1145.10 ns | 719.56 ns | 0.63 | 0.59 | False | | |
|
  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 1125.11 ns | 757.06 ns | 0.67 | 0.52 | False | | |
|
  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 11.66 μs | 8.50 μs | 0.73 | 0.62 | False | | |
|
  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 10.42 μs | 8.16 μs | 0.78 | 0.58 | False | | |
|
  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 156.90 μs | 134.42 μs | 0.86 | 0.40 | False | | |
|
  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 167.59 μs | 153.10 μs | 0.91 | 0.30 | False | | |

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

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

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.Perf_LengthBucketsFrozenDictionary.ToFrozenDictionary(Count: 10000, 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)

---

### Run Information

Name | Value
-- | --
Architecture | x64
OS | ubuntu 22.04
Queue | ViperUbuntu
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.17 ns | 1.14 ns | 0.52 | 0.01 | False | | |
|
  • [SingleToHalf - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.17 ns | 1.14 ns | 0.52 | 0.01 | False | | |
|
  • [SingleToHalf - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.17 ns | 1.14 ns | 0.52 | 0.02 | False | | |
|
  • [SingleToHalf - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.17 ns | 1.14 ns | 0.52 | 0.05 | 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
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Tests.Perf_Half*'
```

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

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### 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 | [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.07 μs | 1.04 μs | 0.50 | 0.69 | False | | |
|
  • [List - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.11 μs | 1.16 μs | 0.55 | 0.62 | False | | |
|
  • [Stack - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.99 μs | 1.15 μs | 0.58 | 0.64 | False | | |
|
  • [Queue - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.38 μs | 1.42 μs | 0.60 | 0.53 | 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
python3 .\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>.List(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.AddGivenSize<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 | [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.CreateAddAndRemove<String>

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

  • [Stack - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.80 μs | 1.94 μs | 0.69 | 0.54 | False | | |
|
  • [Queue - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.17 μs | 2.56 μs | 0.81 | 0.40 | 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 'System.Collections.CreateAddAndRemove*'
```

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

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CreateAddAndRemove<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 | [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 PerfLabTests.GetMember

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

  • [GetMethod2 - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 81.33 μs | 55.95 μs | 0.69 | 0.10 | 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 'PerfLabTests.GetMember*'
```

### PerfLabTests.GetMember.GetMethod2

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

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]()
| 5.39 μs | 4.98 μs | 0.92 | 0.12 | 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_SubstringFrozenDictionary*'
```

### System.Collections.Perf_SubstringFrozenDictionary.ToFrozenDictionary(Count: 100)

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

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]()
| 33.67 μs | 30.40 μs | 0.90 | 0.25 | 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_DefaultFrozenDictionary*'
```

### System.Collections.Perf_DefaultFrozenDictionary.ToFrozenDictionary(Count: 1000)

#### 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 | [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 PerfLabTests.DelegatePerf

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

  • [MulticastDelegateCombineInvoke - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 182.83 ms | 105.58 ms | 0.58 | 0.59 | 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 'PerfLabTests.DelegatePerf*'
```

### PerfLabTests.DelegatePerf.MulticastDelegateCombineInvoke

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

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]()
| 3.45 μs | 2.98 μs | 0.86 | 0.25 | 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_SingleCharFrozenDictionary*'
```

### System.Collections.Perf_SingleCharFrozenDictionary.ToFrozenDictionary(Count: 100)

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