dotnet / dotnet/perf-autofiling-issues

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

Open
#71,677 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.73 ns | 733.87 ns | 0.64 | 0.52 | False | | |
|
  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 1086.01 ns | 734.70 ns | 0.68 | 0.59 | False | | |
|
  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 10.26 μs | 8.22 μs | 0.80 | 0.59 | False | | |
|
  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 161.59 μs | 132.80 μs | 0.82 | 0.41 | False | | |
|
  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 9.96 μs | 8.30 μs | 0.83 | 0.62 | False | | |
|
  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 172.49 μs | 154.84 μs | 0.90 | 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: 1)

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### 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: 1000, ItemsPerBucket: 1)

#### 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.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.40 μs | 1.61 μs | 0.67 | 0.59 | False | | |
|
  • [List - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.36 μs | 1.61 μs | 0.68 | 0.65 | False | | |
|
  • [Stack - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.34 μs | 1.63 μs | 0.70 | 0.61 | False | | |
|
  • [Queue - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.70 μs | 1.97 μs | 0.73 | 0.49 | 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.CreateAddAndClear*'
```

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

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CreateAddAndClear<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.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]()
| 1.97 μs | 1.02 μs | 0.52 | 0.70 | False | | |
|
  • [List - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.00 μs | 1.16 μs | 0.58 | 0.63 | False | | |
|
  • [Stack - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.97 μs | 1.16 μs | 0.59 | 0.65 | False | | |
|
  • [Queue - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.09 μs | 1.42 μs | 0.68 | 0.54 | 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.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.42 μs | 2.93 μs | 0.85 | 0.25 | False | | |
|
  • [ToFrozenDictionary - Duration of single invocation]()
  • [ADX - Test Multi Config Graph]()
| 477.30 ns | 439.59 ns | 0.92 | 0.14 | 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.Perf_SingleCharFrozenDictionary*'
```

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

#### ETL Files

#### Histogram

#### JIT Disasms

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

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

  • [Queue - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.12 μs | 2.60 μs | 0.83 | 0.41 | 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.CreateAddAndRemove*'
```

### 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]()
| 80.76 μs | 56.04 μ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.38 μs | 5.06 μs | 0.94 | 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.34 μs | 30.35 μs | 0.91 | 0.26 | 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.38 ms | 105.64 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)

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.