dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 13 Improvements on 7/30/2026 2:24:29 PM +00:00

Open
#77,452 1 comment 0 reactions 0 assignees View on GitHub
aot-true arch-wasm arch-x64 branch-refs/heads/main compilationmode-wasm kind-micro Look Again os-linux perf-improvement runkind-micro untriaged wasm-aot
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 | [d1d60b31914b2a81a755890fad31cb44ca5cf5cd](https://github.com/dotnet/runtime/commit/d1d60b31914b2a81a755890fad31cb44ca5cf5cd)
Compare | [974b4b56b05ffe12857f731320f4b235bf36169c](https://github.com/dotnet/runtime/commit/974b4b56b05ffe12857f731320f4b235bf36169c)
Diff | [Diff](https://github.com/dotnet/runtime/compare/d1d60b31914b2a81a755890fad31cb44ca5cf5cd...974b4b56b05ffe12857f731320f4b235bf36169c)
Configs | AOT:true, CompilationMode:wasm, RunKind:micro

### Improvements in System.Linq.Tests.Perf_Enumerable

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

  • [SequenceEqual - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 3.70 μs | 3.11 μs | 0.84 | 0.14 | False | | |
|
  • [WhereSingle_LastElementMatches - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 12.23 μs | 10.90 μs | 0.89 | 0.13 | False | | |
|
  • [WhereAny_LastElementMatches - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 11.97 μs | 10.76 μs | 0.90 | 0.12 | False | | |
|
  • [WhereLast_LastElementMatches - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 11.29 μs | 10.17 μs | 0.90 | 0.16 | False | | |
|
  • [Select - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 18.80 μs | 17.02 μs | 0.91 | 0.15 | False | | |
|
  • [WhereLast_LastElementMatches - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 12.01 μs | 10.90 μs | 0.91 | 0.15 | False | | |
|
  • [SelectToArray - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 18.18 μs | 16.71 μs | 0.92 | 0.13 | False | | |
|
  • [WhereFirst_LastElementMatches - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 11.98 μs | 11.35 μs | 0.95 | 0.09 | False | | |

![graph]()
![graph]()
![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.Linq.Tests.Perf_Enumerable*'
```

### System.Linq.Tests.Perf_Enumerable.SequenceEqual(input1: IEnumerable, input2: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.WhereSingle_LastElementMatches(input: Array)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.WhereAny_LastElementMatches(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.WhereLast_LastElementMatches(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.Select(input: IList)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.WhereLast_LastElementMatches(input: Array)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.SelectToArray(input: IEnumerable)

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Linq.Tests.Perf_Enumerable.WhereFirst_LastElementMatches(input: List)

#### 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 | [d1d60b31914b2a81a755890fad31cb44ca5cf5cd](https://github.com/dotnet/runtime/commit/d1d60b31914b2a81a755890fad31cb44ca5cf5cd)
Compare | [974b4b56b05ffe12857f731320f4b235bf36169c](https://github.com/dotnet/runtime/commit/974b4b56b05ffe12857f731320f4b235bf36169c)
Diff | [Diff](https://github.com/dotnet/runtime/compare/d1d60b31914b2a81a755890fad31cb44ca5cf5cd...974b4b56b05ffe12857f731320f4b235bf36169c)
Configs | AOT:true, CompilationMode:wasm, RunKind:micro

### Improvements in ArrayDeAbstraction

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

  • [foreach_static_readonly_array_via_interface_property - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 4.92 μs | 4.39 μs | 0.89 | 0.11 | False | | |
|
  • [foreach_static_readonly_array_via_interface - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 4.64 μs | 4.31 μs | 0.93 | 0.09 | False | | |
|
  • [foreach_static_array_via_interface - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 4.62 μs | 4.31 μs | 0.93 | 0.13 | 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
python3 .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'ArrayDeAbstraction*'
```

### ArrayDeAbstraction.foreach_static_readonly_array_via_interface_property

#### ETL Files

#### Histogram

#### JIT Disasms

### ArrayDeAbstraction.foreach_static_readonly_array_via_interface

#### ETL Files

#### Histogram

#### JIT Disasms

### ArrayDeAbstraction.foreach_static_array_via_interface

#### 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 | [d1d60b31914b2a81a755890fad31cb44ca5cf5cd](https://github.com/dotnet/runtime/commit/d1d60b31914b2a81a755890fad31cb44ca5cf5cd)
Compare | [974b4b56b05ffe12857f731320f4b235bf36169c](https://github.com/dotnet/runtime/commit/974b4b56b05ffe12857f731320f4b235bf36169c)
Diff | [Diff](https://github.com/dotnet/runtime/compare/d1d60b31914b2a81a755890fad31cb44ca5cf5cd...974b4b56b05ffe12857f731320f4b235bf36169c)
Configs | AOT:true, CompilationMode:wasm, RunKind:micro

### Improvements in Span.Sorting

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

  • [BubbleSortSpan - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 136.92 μs | 115.94 μs | 0.85 | 0.32 | 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 'Span.Sorting*'
```

### Span.Sorting.BubbleSortSpan(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 | [d1d60b31914b2a81a755890fad31cb44ca5cf5cd](https://github.com/dotnet/runtime/commit/d1d60b31914b2a81a755890fad31cb44ca5cf5cd)
Compare | [974b4b56b05ffe12857f731320f4b235bf36169c](https://github.com/dotnet/runtime/commit/974b4b56b05ffe12857f731320f4b235bf36169c)
Diff | [Diff](https://github.com/dotnet/runtime/compare/d1d60b31914b2a81a755890fad31cb44ca5cf5cd...974b4b56b05ffe12857f731320f4b235bf36169c)
Configs | AOT:true, CompilationMode:wasm, RunKind:micro

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

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

  • [ImmutableQueue - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 19.60 μs | 15.83 μs | 0.81 | 0.23 | 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.CreateAddAndClear*'
```

### System.Collections.CreateAddAndClear<String>.ImmutableQueue(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

Research direction

Start with src/benchmarks/micro/libraries/System.Linq/Perf.Enumerable.cs at the cited benchmark lines and compare the baseline and test commits. Review the linked reports for the listed LINQ cases; done requires triage that identifies an actionable change and a repeatable benchmark result, which the issue does not currently specify.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp, ubuntu, wasm
Domain
performance
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.