5 ms·
That's a good question, I've never tried to benchmark AoT compiled code. I don't know how to do it with BenchmarkDotNET. I believe the way BDM works is that it
by eterm 1y ago
That's a good question, I've never tried to benchmark AoT compiled code. I don't know how to do it with BenchmarkDotNET. I believe the way BDM works is that it compiles sub-assemblies to execute the benchmarks, so it would have to be those, not the benchmark runner that would need the AOT compilation step?
- breve 1y agoIt should just be another compilation target. Here's the documentation on NativeAOT with BenchmarkDotNet: https://benchmarkdotnet.org/articles/configs/toolchains.html#nativeaot https://benchmarkdotnet.org/articles/configs/toolchains.html...