dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/arm64: 3 Improvements on 4/11/2026 1:57:11 AM +00:00

Open
#71,501 0 comments 0 reactions 0 assignees View on GitHub
ampere arch-arm64 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 | arm64
OS | ubuntu 22.04
Queue | AmpereUbuntu
Baseline | [a86167c66c4c1a9e1ff315995b57b00bc705989a](https://github.com/dotnet/runtime/commit/a86167c66c4c1a9e1ff315995b57b00bc705989a)
Compare | [280fb749167d6b0a42c9e5f90dc9b29730a09dac](https://github.com/dotnet/runtime/commit/280fb749167d6b0a42c9e5f90dc9b29730a09dac)
Diff | [Diff](https://github.com/dotnet/runtime/compare/a86167c66c4c1a9e1ff315995b57b00bc705989a...280fb749167d6b0a42c9e5f90dc9b29730a09dac)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in Interop.StructureToPtr

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

  • [MarshalStructureToPtr - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 103.13 ns | 67.54 ns | 0.65 | 0.11 | False | | |
|
  • [MarshalDestroyStructure - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 214.82 ns | 147.59 ns | 0.69 | 0.27 | False | | |
|
  • [MarshalPtrToStructure - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 105.83 ns | 74.26 ns | 0.70 | 0.07 | 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 'Interop.StructureToPtr*'
```

### Interop.StructureToPtr.MarshalStructureToPtr

#### ETL Files

#### Histogram

#### JIT Disasms

### Interop.StructureToPtr.MarshalDestroyStructure

#### ETL Files

#### Histogram

#### JIT Disasms

### Interop.StructureToPtr.MarshalPtrToStructure

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