dotnet / dotnet/perf-autofiling-issues

[Perf] Linux/arm64: 3 Improvements on 4/11/2026 7:34:52 AM +00:00

Open
#71,495 0 comments 0 reactions 0 assignees View on GitHub
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 | azurelinux 3.0
Queue | CobaltAzureLinux
Baseline | [a931a075399d742844efd7c4879032861e444152](https://github.com/dotnet/runtime/commit/a931a075399d742844efd7c4879032861e444152)
Compare | [e583c98763e224e5d6587a9d8fc732a33b1d808b](https://github.com/dotnet/runtime/commit/e583c98763e224e5d6587a9d8fc732a33b1d808b)
Diff | [Diff](https://github.com/dotnet/runtime/compare/a931a075399d742844efd7c4879032861e444152...e583c98763e224e5d6587a9d8fc732a33b1d808b)
Configs | CompilationMode:tiered, RunKind:micro

### Improvements in Interop.StructureToPtr

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

  • [MarshalDestroyStructure - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 243.49 ns | 161.79 ns | 0.66 | 0.15 | False | | |
|
  • [MarshalStructureToPtr - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 107.67 ns | 72.83 ns | 0.68 | 0.22 | False | | |
|
  • [MarshalPtrToStructure - Duration of single invocation]()
  • 📝 - [Benchmark Source]()
  • [ADX - Test Multi Config Graph]()
| 121.37 ns | 84.61 ns | 0.70 | 0.22 | 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
py .\performance\scripts\benchmarks_ci.py -f net8.0 --filter 'Interop.StructureToPtr*'
```

### Interop.StructureToPtr.MarshalDestroyStructure

#### ETL Files

#### Histogram

#### JIT Disasms

### Interop.StructureToPtr.MarshalStructureToPtr

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