Due to the JIT compiler in the .net framework, my first calls are slow. To find a solution for this problem I am trying to prejit all my methods which improved my performance. While searching for solutions for the jitting issue, I came out on this SA question: Why subsequent direct method call is much faster than the first call?
I've also found that the .NET Core 3.0 has a aot (ahead of time) compiler. Thus I have created a .NET Core 3.0 project with the code from Why subsequent direct method call is much faster than the first call?, but even though it should use the aot compiler, the first call is still slower.
So my question is: Why do I not see any performance improvements, because I was expecting the first call would also be faster?