dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 14 Improvements on 5/19/2026 5:33:16 PM +00:00

Open
#73,740 1 comment 0 reactions 0 assignees View on GitHub
arch-wasm arch-x64 bdn-update branch-refs/heads/main compilationmode-wasm kind-micro os-linux perf-improvement runkind-micro runtimetype-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 | [21d1570e075a895f62c292a5e1854947b97c7dbc](https://github.com/dotnet/runtime/commit/21d1570e075a895f62c292a5e1854947b97c7dbc)
Compare | [f397c835cc1c655505d2a22fd0cebb9e96733d0b](https://github.com/dotnet/runtime/commit/f397c835cc1c655505d2a22fd0cebb9e96733d0b)
Diff | [Diff](https://github.com/dotnet/runtime/compare/21d1570e075a895f62c292a5e1854947b97c7dbc...f397c835cc1c655505d2a22fd0cebb9e96733d0b)
Configs | CompilationMode:wasm, RunKind:micro, RuntimeType:coreclr

### Improvements in System.Reflection.Invoke

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

  • [Ctor4_int_string_struct_class - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.89 μs | 3.37 μs | 0.87 | 0.17 | False | | |
|
  • [Property_Set_class - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 1.44 μs | 1.27 μs | 0.88 | 0.23 | False | | |
|
  • [StaticMethod4_int_string_struct_class - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.91 μs | 3.46 μs | 0.89 | 0.21 | False | | |
|
  • [StaticMethod4_arrayNotCached_int_string_struct_class - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 5.38 μs | 4.83 μs | 0.90 | 0.18 | False | | |
|
  • [StaticMethod5_arrayNotCached_int_string_struct_class_bool - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 6.40 μs | 5.84 μs | 0.91 | 0.26 | False | | |

![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.Reflection.Invoke*'
```

### System.Reflection.Invoke.Ctor4_int_string_struct_class

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Reflection.Invoke.Property_Set_class

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Reflection.Invoke.StaticMethod4_int_string_struct_class

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Reflection.Invoke.StaticMethod4_arrayNotCached_int_string_struct_class

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Reflection.Invoke.StaticMethod5_arrayNotCached_int_string_struct_class_bool

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

### Improvements in System.Collections.CopyTo<Int32>

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

  • [ReadOnlySpan - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3115.38 ns | 734.49 ns | 0.24 | 0.40 | False | | |
|
  • [Span - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2970.13 ns | 700.40 ns | 0.24 | 0.43 | False | | |
|
  • [Array - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2.97 μs | 1.02 μs | 0.34 | 0.35 | False | | |
|
  • [Memory - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.62 μs | 1.36 μs | 0.38 | 0.46 | 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.CopyTo*'
```

### System.Collections.CopyTo<Int32>.ReadOnlySpan(Size: 2048)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CopyTo<Int32>.Span(Size: 2048)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CopyTo<Int32>.Array(Size: 2048)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Collections.CopyTo<Int32>.Memory(Size: 2048)

#### 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 | [21d1570e075a895f62c292a5e1854947b97c7dbc](https://github.com/dotnet/runtime/commit/21d1570e075a895f62c292a5e1854947b97c7dbc)
Compare | [f397c835cc1c655505d2a22fd0cebb9e96733d0b](https://github.com/dotnet/runtime/commit/f397c835cc1c655505d2a22fd0cebb9e96733d0b)
Diff | [Diff](https://github.com/dotnet/runtime/compare/21d1570e075a895f62c292a5e1854947b97c7dbc...f397c835cc1c655505d2a22fd0cebb9e96733d0b)
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
-- | -- | -- | -- | -- | -- | -- | -- | --
|

  • [CheckArrayIsNonvariantGenericInterface - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 2480.22 ns | 790.73 ns | 0.32 | 0.42 | 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.CastingPerf*'
```

### PerfLabTests.CastingPerf.CheckArrayIsNonvariantGenericInterface

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

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

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

  • [ConcurrentBag - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 6.97 μs | 2.37 μs | 0.34 | 0.02 | 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.CtorDefaultSize*'
```

### System.Collections.CtorDefaultSize<String>.ConcurrentBag

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

### Improvements in System.Buffers.Tests.ReadOnlySequenceTests<Char>

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

  • [IterateForEachMemory - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 4.11 μs | 2.35 μs | 0.57 | 0.40 | 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.Buffers.Tests.ReadOnlySequenceTests*'
```

### System.Buffers.Tests.ReadOnlySequenceTests<Char>.IterateForEachMemory

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

### Improvements in Microsoft.Extensions.Caching.Memory.Tests.MemoryCacheTests

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

  • [AddThenRemove_RelativeExpiration - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 879.41 μs | 709.00 μs | 0.81 | 0.30 | 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 'Microsoft.Extensions.Caching.Memory.Tests.MemoryCacheTests*'
```

### Microsoft.Extensions.Caching.Memory.Tests.MemoryCacheTests.AddThenRemove_RelativeExpiration

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

### Improvements in System.Collections.CtorDefaultSize<Int32>

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

  • [ConcurrentBag - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 6.90 μs | 2.62 μs | 0.38 | 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
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'System.Collections.CtorDefaultSize*'
```

### System.Collections.CtorDefaultSize<Int32>.ConcurrentBag

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