Hacker News new | past | comments | ask | show | jobs | submit login

Don't get me wrong I'm sure native C# is plenty fast and within acceptable speed range. It it were me, native code would be used at a last resort strategy.

But perusing https://benchmarksgame-team.pages.debian.net/ is still seems C# takes much more memory? It's strange as such benchmark don't expose much change between .net and .net aot




https://benchmarksgame-team.pages.debian.net/benchmarksgame/...

Maybe we're doing something wrong? Don't know what.


Looks like measuring the same thing twice.


"Applications that have small amounts of code will likely not experience a significant improvement from enabling ReadyToRun, as the .NET runtime libraries have already been precompiled with ReadyToRun."

https://docs.microsoft.com/en-us/dotnet/core/deploying/ready...


Once with

    /usr/bin/dotnet build -c Release --no-restore -r ubuntu-x64 
and once with

    /usr/bin/dotnet publish -c Release --no-restore -r ubuntu-x64 --no-self-contained
What should the second do for aot ?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: