dotnet / runtimelab

This repo is for experimentation and exploring new ideas that may or may not make it into the main dotnet/runtime repo.
MIT License
1.44k stars 201 forks source link

FYI: Performance of NativeAOT #1396

Closed kant2002 closed 3 years ago

kant2002 commented 3 years ago

Taken from https://forum.unity.com/threads/unity-future-net-development-status.1092205/page-5#post-7397786

image This image represents some GC test where on left, timescale using Stopwatch ticks.

Source code. https://gist.github.com/kamyker/851696cfed9c2cd725b496e2ef2d1900

What is curious for me, is behavior of the array tests where NativeAOT behave slightly slower a bit then .NET. Is this something which should be taken care of?

kant2002 commented 3 years ago

Based on further discord interation. That's not valid benchmarks.