Skip to content

Commit

Permalink
Merge pull request #10286 from tetrapod00/4x-csharp
Browse files Browse the repository at this point in the history
Remove performance comparison from C# Basics
  • Loading branch information
skyace65 authored Nov 20, 2024
2 parents 892322b + 77f3eb6 commit 76a8087
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tutorials/scripting/c_sharp/c_sharp_basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -357,12 +357,6 @@ You can read more about this error on the `C# language reference <https://learn.
Performance of C# in Godot
--------------------------

According to some preliminary `benchmarks <https://github.com/cart/godot3-bunnymark>`_,
the performance of C# in Godot — while generally in the same order of magnitude
— is roughly **~4×** that of GDScript in some naive cases. C++ is still
a little faster; the specifics are going to vary according to your use case.
GDScript is likely fast enough for most general scripting workloads.

Most properties of Godot C# objects that are based on ``GodotObject``
(e.g. any ``Node`` like ``Control`` or ``Node3D`` like ``Camera3D``) require native (interop) calls as they talk to
Godot's C++ core.
Expand Down

0 comments on commit 76a8087

Please sign in to comment.