I do a performance benchmark with a function that takes a lot of CPU time in my game which is a Trilinear interpolation function. This is used while generating voxel world.
Results (ARM) for a 256x256x256 voxels array on Raspberry Pi 3 :
- C++ (GCC -O3 optimization) -> 1662 ms
- C# NetCore 2.0 -> 3240 ms (unsafe method)
- C# Mono 5.2.0 -> 6573 ms