IMHO, VM startup time should be included and the first few passes (before JIT kicks in) should also be included.
Java has supposedly “nearly C-like performance” until you read the fine print.
(This should apply to C# as well.)
Is that just your assumption or have you measured that penalty for this tiny tiny program?
Might "the JVM's slow start time" in this case be insignificant?
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...