@@ -56,19 +56,8 @@ External profilers
5656Although the Godot IDE profiler is very convenient and useful, sometimes you
5757need more power, and the ability to profile the Godot engine source code itself.
5858
59- You can use a number of third party profilers to do this including
60- `Valgrind <https://www.valgrind.org/ >`__,
61- `VerySleepy <http://www.codersnotes.com/sleepy/ >`__,
62- `HotSpot <https://github.com/KDAB/hotspot >`__,
63- `Visual Studio <https://visualstudio.microsoft.com/ >`__ and
64- `Intel VTune <https://software.intel.com/content/www/us/en/develop/tools/vtune-profiler.html >`__.
65-
66- .. note :: You will need to compile Godot from source to use a third-party profiler.
67- This is required to obtain debugging symbols. You can also use a debug
68- build, however, note that the results of profiling a debug build will
69- be different to a release build, because debug builds are less
70- optimized. Bottlenecks are often in a different place in debug builds,
71- so you should profile release builds whenever possible.
59+ You can :ref: `use a number of third-party C++ profilers <doc_using_cpp_profilers >`
60+ to do this.
7261
7362.. figure :: img/valgrind.png
7463 :alt: Screenshot of Callgrind
@@ -81,7 +70,7 @@ itself, excluding child functions (Self), the number of times the function is
8170called, the function name, and the file or module.
8271
8372In this example, we can see nearly all time is spent under the
84- `Main::iteration() ` function. This is the master function in the Godot source
73+ `` Main::iteration() ` ` function. This is the master function in the Godot source
8574code that is called repeatedly. It causes frames to be drawn, physics ticks to
8675be simulated, and nodes and scripts to be updated. A large proportion of the
8776time is spent in the functions to render a canvas (66%), because this example
@@ -225,8 +214,8 @@ SceneTree
225214=========
226215
227216Although Nodes are an incredibly powerful and versatile concept, be aware that
228- every node has a cost. Built-in functions such as `_process() ` and
229- `_physics_process() ` propagate through the tree. This housekeeping can reduce
217+ every node has a cost. Built-in functions such as `` _process() ` ` and
218+ `` _physics_process() ` ` propagate through the tree. This housekeeping can reduce
230219performance when you have a very large numbers of nodes (how many exactly
231220depends on the target platform and can range from thousands to tens of
232221thousands so ensure that you profile performance on all target platforms
0 commit comments