truthfultemporarily@feddit.org to Godot@programming.dev · 2 months agoBenchmarking C# vs gdscriptyoutu.beexternal-linkmessage-square4fedilinkarrow-up119arrow-down12file-text
arrow-up117arrow-down1external-linkBenchmarking C# vs gdscriptyoutu.betruthfultemporarily@feddit.org to Godot@programming.dev · 2 months agomessage-square4fedilinkfile-text
Most people seem to agree gdscript should be faster for heavy engine work, but that’s not what I found.
minus-squareRaphaelSchmitz@feddit.orglinkfedilinkarrow-up2·2 months ago“Heavy engine calls” sounds slightly off. If you do a lot of processing work in code and then send it over to Godot in one “heavy” engine call, C# will be faster. But if you do less work in code with MANY Godot calls, the translation cost can easily overshadow the performance advantage of C# itself.
“Heavy engine calls” sounds slightly off.
If you do a lot of processing work in code and then send it over to Godot in one “heavy” engine call, C# will be faster.
But if you do less work in code with MANY Godot calls, the translation cost can easily overshadow the performance advantage of C# itself.