Skip to content
This repository has been archived by the owner. It is now read-only.
Benchmarking playground for ADL.
C# CMake C
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
AdvancedDLSupport.Benchmark
.gitignore
AdvancedDLSupport.Benchmark.sln
AdvancedDLSupport.Benchmark.sln.DotSettings
README.md
stylecop.json
stylecop.ruleset

README.md

AdvancedDLSupport.Benchmark

Join the chat at https://discord.gg/fDy5Vhb

This repo contains a small test application for benchmarking different ways of native interop. Currently, it tests traditional DllImport statements, delegate-based techniques, and the calli opcode. Each permutation is tested against a by-reference and a by-value parameter.

The native code accepts a Matrix2f, and performs a simple matrix inversion on it.

Each permutation is timed over 10k iterations, with a 100 iteration warmup, and is presented as a per-iteration time (in milliseconds).

You can’t perform that action at this time.