Closed Henr1k80 closed 1 year ago
Thank you for the PR. Your optimization indeed improves performance during the execution of JIT-compiled code, but it seems to have no effect on the execution of AOT-compiled code.
Here are the results from my environment:
dotnet publish -c Release
managed-doom -timedemo demo3 -nosound
Average FPS over three runs:
Oh, I tested by just making release builds, I presumed that made AoT... I can confirm your numbers with AoT, my changes are slower. I just tried removing the readonly modifiers and that makes it less slow, but still slower. Crazy difference in JIT vs. AoT
"commandLineArgs": "-nosound -timedemo demo3"