Skip to content

[Benchmark X64] [jkoritzinsky] Move the cache for the marshaler methods to b ... #1844

@MihuBot

Description

@MihuBot

Job completed in 17 minutes 8 seconds (remote runner delay: 1 minute 20 seconds).
dotnet/runtime#126621
Using arguments: benchmark Interop.StructureToPtr
Main commit: dotnet/runtime@714d206
PR commit: jkoritzinsky/runtime@d6dc96a

Interop.StructureToPtr
BenchmarkDotNet v0.16.0-nightly.20260320.467, Linux Ubuntu 24.04.4 LTS (Noble Numbat)
AMD EPYC 9V74 2.60GHz, 1 CPU, 8 logical and 4 physical cores
Memory: 31.34 GB Total, 1.78 GB Available
  Job-TPEJOW : .NET 11.0.0 (11.0.0-dev, 42.42.42.42424), X64 RyuJIT x86-64-v4
  Job-HKHXHK : .NET 11.0.0 (11.0.0-dev, 42.42.42.42424), X64 RyuJIT x86-64-v4
EvaluateOverhead=False  OutlierMode=Default  PowerPlanMode=
IterationTime=250ms  MaxIterationCount=20  MemoryRandomization=Default
MinIterationCount=15  WarmupCount=1
Method Toolchain Mean Error Ratio Allocated Alloc Ratio
MarshalStructureToPtr Main 64.20 ns 0.578 ns 1.00 24 B 1.00
MarshalStructureToPtr PR 30.70 ns 0.567 ns 0.48 24 B 1.00
MarshalPtrToStructure Main 62.55 ns 0.117 ns 1.00 24 B 1.00
MarshalPtrToStructure PR 37.14 ns 0.026 ns 0.59 24 B 1.00
MarshalDestroyStructure Main 109.97 ns 0.152 ns 1.00 96 B 1.00
MarshalDestroyStructure PR 68.63 ns 0.158 ns 0.62 96 B 1.00

Artifacts:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions