3 ms·
All benchmark you mentioned(and lot more) https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/csharpcore-csharpaot.html https://benchmarksgame-t
by akmittal 5y ago
All benchmark you mentioned(and lot more) https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/csharpcore-csharpaot.html https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
- Traubenfuchs 5y agoIsn't non-AOT C# (and java) "cheating" here, by warming up? And isn't not needing warm up one of the AOT selling points?
- kevingadd 5y agoI think in practice PGO for native C/C++ binaries is not that different from a JIT warming up C#/Java code, especially since llvm+clang is so good at optimizing code.
- hibbelig 5y agoOften, you might want to run servers. If they are JIT compiled, then during warm-up they will be slow(er), and later they will be fast(er). But usually you don't restart servers that often, so they will spend most of their time in "fast mode". It makes sense to me to measure what will be used in practice. Of course, for command line tools such as grep, it is more realistic to measure the warmup phase as well, as that will reflect real usage.
- igouy 5y agoWhat makes you think those "non-AOT C# (and java)" have a "warming up" time that isn't included in the run time measurement?