dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 7 Improvements on 3/25/2026 4:20:06 PM +00:00

Open
#70,800 0 comments 0 reactions 0 assignees View on GitHub
arch-wasm arch-x64 bdn-update branch-refs/heads/main kind-micro os-linux perf-improvement 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 | [6d3044db47fc5161841ba54317feed1122c132a9](https://github.com/dotnet/runtime/commit/6d3044db47fc5161841ba54317feed1122c132a9)
Compare | [91557f54f15bac8fbb5c7acf994910cbd6071991](https://github.com/dotnet/runtime/commit/91557f54f15bac8fbb5c7acf994910cbd6071991)
Diff | [Diff](https://github.com/dotnet/runtime/compare/6d3044db47fc5161841ba54317feed1122c132a9...91557f54f15bac8fbb5c7acf994910cbd6071991)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

### Improvements in PerfLabTests.CastingPerf

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

  • [CheckArrayIsNonvariantGenericInterfaceNo - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.24 μs | 758.78 ns | 0.61 | 0.44 | False | | |
|
  • [CheckArrayIsVariantGenericInterfaceNo - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 991.13 ns | 638.11 ns | 0.64 | 0.31 | False | | |
|
  • [CheckListIsVariantGenericInterface - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.01 μs | 523.20 ns | 0.52 | 0.31 | False | | |

[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.CastingPerf*'
```

### PerfLabTests.CastingPerf.CheckArrayIsNonvariantGenericInterfaceNo

#### ETL Files

#### Histogram

#### JIT Disasms

### PerfLabTests.CastingPerf.CheckArrayIsVariantGenericInterfaceNo

#### ETL Files

#### Histogram

#### JIT Disasms

### PerfLabTests.CastingPerf.CheckListIsVariantGenericInterface

#### 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 | [6d3044db47fc5161841ba54317feed1122c132a9](https://github.com/dotnet/runtime/commit/6d3044db47fc5161841ba54317feed1122c132a9)
Compare | [91557f54f15bac8fbb5c7acf994910cbd6071991](https://github.com/dotnet/runtime/commit/91557f54f15bac8fbb5c7acf994910cbd6071991)
Diff | [Diff](https://github.com/dotnet/runtime/compare/6d3044db47fc5161841ba54317feed1122c132a9...91557f54f15bac8fbb5c7acf994910cbd6071991)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

### Improvements in System.Collections.CtorFromCollection<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]()
| 4.47 μs | 4.08 μs | 0.91 | 0.33 | False | | |
|
  • [Queue - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 6.03 μs | 4.57 μs | 0.76 | 0.27 | False | | |
|
  • [SortedSet - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 21.97 ms | 16.94 ms | 0.77 | 0.36 | False | | |
|
  • [List - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 4.26 μs | 3.71 μs | 0.87 | 0.20 | False | | |

[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.CtorFromCollection*'
```

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

#### ETL Files

#### Histogram

#### JIT Disasms

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

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorFromCollection<String>.SortedSet(Size: 512)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CtorFromCollection<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)

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.