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.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Join the chat at

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.