dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/x64: 64 Improvements on 8/19/2026 2:54:37 PM +00:00

Open
#78,595 2 comments 0 reactions 0 assignees View on GitHub
arch-wasm arch-x64 branch-refs/heads/main compilationmode-wasm kind-micro Look Again os-linux perf-improvement PGO runkind-micro 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 | [029a98f26a9506810140781e88ccb8e45de1cc79](https://github.com/dotnet/runtime/commit/029a98f26a9506810140781e88ccb8e45de1cc79)
Compare | [cb8ddc8cac0182e932903d921bd09300be7ae2a6](https://github.com/dotnet/runtime/commit/cb8ddc8cac0182e932903d921bd09300be7ae2a6)
Diff | [Diff](https://github.com/dotnet/runtime/compare/029a98f26a9506810140781e88ccb8e45de1cc79...cb8ddc8cac0182e932903d921bd09300be7ae2a6)
Configs | CompilationMode:wasm, RunKind:micro

### Improvements in System.Numerics.Tests.Perf_Vector2

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

  • [LerpBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 61.03 ns | 23.17 ns | 0.38 | 0.13 | False | | |
|
  • [ReflectBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 122.16 ns | 60.88 ns | 0.50 | 0.01 | False | | |
|
  • [TransformByQuaternionBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 556.25 ns | 299.80 ns | 0.54 | 0.04 | False | | |
|
  • [TransformNormalByMatrix4x4Benchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 93.30 ns | 51.15 ns | 0.55 | 0.08 | False | | |
|
  • [EqualsBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 53.71 ns | 29.64 ns | 0.55 | 0.02 | False | | |
|
  • [TransformByMatrix4x4Benchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 96.33 ns | 54.44 ns | 0.57 | 0.03 | False | | |
|
  • [TransformNormalByMatrix3x2Benchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 147.34 ns | 84.67 ns | 0.57 | 0.11 | False | | |
|
  • [EqualityOperatorBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 58.51 ns | 35.23 ns | 0.60 | 0.03 | False | | |
|
  • [InequalityOperatorBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 58.04 ns | 34.95 ns | 0.60 | 0.04 | False | | |
|
  • [TransformByMatrix3x2Benchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 124.38 ns | 81.20 ns | 0.65 | 0.02 | False | | |
|
  • [DistanceSquaredBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 75.44 ns | 51.21 ns | 0.68 | 0.03 | False | | |
|
  • [DotBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 71.12 ns | 48.57 ns | 0.68 | 0.06 | False | | |
|
  • [DistanceBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 81.71 ns | 56.74 ns | 0.69 | 0.02 | False | | |
|
  • [LengthSquaredBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 48.09 ns | 34.39 ns | 0.72 | 0.05 | False | | |

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

### System.Numerics.Tests.Perf_Vector2.LerpBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.ReflectBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.TransformByQuaternionBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.TransformNormalByMatrix4x4Benchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.EqualsBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.TransformByMatrix4x4Benchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.TransformNormalByMatrix3x2Benchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.EqualityOperatorBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.InequalityOperatorBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.TransformByMatrix3x2Benchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.DistanceSquaredBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.DotBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.DistanceBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector2.LengthSquaredBenchmark

#### 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 | [029a98f26a9506810140781e88ccb8e45de1cc79](https://github.com/dotnet/runtime/commit/029a98f26a9506810140781e88ccb8e45de1cc79)
Compare | [cb8ddc8cac0182e932903d921bd09300be7ae2a6](https://github.com/dotnet/runtime/commit/cb8ddc8cac0182e932903d921bd09300be7ae2a6)
Diff | [Diff](https://github.com/dotnet/runtime/compare/029a98f26a9506810140781e88ccb8e45de1cc79...cb8ddc8cac0182e932903d921bd09300be7ae2a6)
Configs | CompilationMode:wasm, RunKind:micro

### Improvements in System.Numerics.Tests.Perf_Vector3

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

  • [TransformNormalByMatrix4x4Benchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 136.21 ns | 57.03 ns | 0.42 | 0.31 | False | | |
|
  • [LerpBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 64.23 ns | 26.92 ns | 0.42 | 0.23 | False | | |
|
  • [TransformByMatrix4x4Benchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 141.56 ns | 61.14 ns | 0.43 | 0.22 | False | | |
|
  • [TransformByQuaternionBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 551.70 ns | 294.01 ns | 0.53 | 0.06 | False | | |
|
  • [ReflectBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 107.37 ns | 57.80 ns | 0.54 | 0.33 | False | | |
|
  • [EqualsBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 35.70 ns | 24.55 ns | 0.69 | 0.05 | False | | |
|
  • [CreateFromVector2WithScalarBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 20.45 ns | 14.54 ns | 0.71 | 0.24 | False | | |
|
  • [InequalityOperatorBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 41.17 ns | 29.45 ns | 0.72 | 0.06 | False | | |
|
  • [EqualityOperatorBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 41.21 ns | 29.74 ns | 0.72 | 0.05 | False | | |
|
  • [DistanceSquaredBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 60.68 ns | 45.18 ns | 0.74 | 0.05 | False | | |
|
  • [DotBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 54.87 ns | 41.41 ns | 0.75 | 0.05 | False | | |
|
  • [DistanceBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 65.26 ns | 51.52 ns | 0.79 | 0.03 | False | | |

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

### System.Numerics.Tests.Perf_Vector3.TransformNormalByMatrix4x4Benchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector3.LerpBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector3.TransformByMatrix4x4Benchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector3.TransformByQuaternionBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector3.ReflectBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector3.EqualsBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector3.CreateFromVector2WithScalarBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector3.InequalityOperatorBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector3.EqualityOperatorBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector3.DistanceSquaredBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector3.DotBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Vector3.DistanceBenchmark

#### 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 | [029a98f26a9506810140781e88ccb8e45de1cc79](https://github.com/dotnet/runtime/commit/029a98f26a9506810140781e88ccb8e45de1cc79)
Compare | [cb8ddc8cac0182e932903d921bd09300be7ae2a6](https://github.com/dotnet/runtime/commit/cb8ddc8cac0182e932903d921bd09300be7ae2a6)
Diff | [Diff](https://github.com/dotnet/runtime/compare/029a98f26a9506810140781e88ccb8e45de1cc79...cb8ddc8cac0182e932903d921bd09300be7ae2a6)
Configs | CompilationMode:wasm, RunKind:micro

### Improvements in System.Numerics.Tests.Perf_Matrix4x4

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

  • [CreateReflectionBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 252.01 ns | 60.58 ns | 0.24 | 0.11 | False | | |
|
  • [MultiplyByMatrixBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 843.48 ns | 232.58 ns | 0.28 | 0.26 | False | | |
|
  • [MultiplyByMatrixOperatorBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 817.84 ns | 242.37 ns | 0.30 | 0.23 | False | | |
|
  • [CreateShadowBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 310.51 ns | 117.04 ns | 0.38 | 0.10 | False | | |
|
  • [CreateFromMatrix3x2 - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 106.56 ns | 67.46 ns | 0.63 | 0.02 | False | | |
|
  • [CreateScaleFromVectorWithCenterBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 78.07 ns | 61.22 ns | 0.78 | 0.04 | False | | |
|
  • [CreateFromAxisAngleBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 103.45 ns | 85.56 ns | 0.83 | 0.03 | False | | |
|
  • [CreateScaleFromScalarWithCenterBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 72.23 ns | 59.83 ns | 0.83 | 0.05 | False | | |
|
  • [CreateTranslationFromVectorBenchmark - Duration of single invocation]()
  • πŸ“ - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 29.56 ns | 25.11 ns | 0.85 | 0.12 | False | | |

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

### System.Numerics.Tests.Perf_Matrix4x4.CreateReflectionBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Matrix4x4.MultiplyByMatrixBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Matrix4x4.MultiplyByMatrixOperatorBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Matrix4x4.CreateShadowBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Matrix4x4.CreateFromMatrix3x2

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Matrix4x4.CreateScaleFromVectorWithCenterBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Matrix4x4.CreateFromAxisAngleBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Matrix4x4.CreateScaleFromScalarWithCenterBenchmark

#### ETL Files

#### Histogram

#### JIT Disasms

### System.Numerics.Tests.Perf_Matrix4x4.CreateTranslationFromVectorBenchmark

#### 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 the linked benchmark source at src/benchmarks/micro/libraries/System.Numerics.Vectors/Perf_Vector2.cs, especially the listed benchmark lines, and review the baseline/compare data. The issue reports improvements rather than naming a change to make, so no completion condition or actionable fix is specified.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.