From 33df2fa66e6e693575775bf8194a88027b72734b Mon Sep 17 00:00:00 2001 From: Michalis Kamburelis Date: Mon, 13 Jan 2025 23:55:05 +0100 Subject: [PATCH] Use "task" more consistently --- htdocs/manual_optimization.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/htdocs/manual_optimization.php b/htdocs/manual_optimization.php index c63beed54..636da4674 100644 --- a/htdocs/manual_optimization.php +++ b/htdocs/manual_optimization.php @@ -30,7 +30,7 @@ new TocItem('User interface and 2D drawing', 'ui', 1), new TocItem('Last resort: consider switching to old rendering pipeline for really old machines', 'old_rendering', 1), new TocItem('Profile (measure speed and memory usage)', 'profiling'), - new TocItem('Use simple TCastleProfiler to measure specific tasks', 'profiler', 1), + new TocItem('Use TCastleProfiler to measure time of tasks and their sub-tasks', 'profiler', 1), new TocItem('Use TCastleFrameProfiler (just press F8!) to measure what consumes your time', 'frame_profiler', 1), new TocItem('Use Valgrind, incredibly powerful profiler on Linux', 'valgrind', 1), new TocItem('Use profiler on Nintendo Switch', 'nintendo_profiler', 1), @@ -675,7 +675,7 @@ html_section(); ?> -

Use (through the singleton , in unit) to easily profile the speed of various operations. You can measure the speed of your own code, or just enable the profiler to measure the speed of various engine loading operations. The profiler automatically builds a tree of "what sub-operation was within each operation", so you can investigate "what took most time in something else", e.g. loading which 3D model took the most time when loading a game level. +

Use (through the singleton , in unit) to easily profile the speed of various tasks. You can measure the speed of your own code, or just enable the profiler to measure the speed of various engine loading operations. The profiler automatically builds and sorts a tree of "which sub-tasks contribute to the time of each task", so you can investigate "what took most time in something else", e.g. loading which 3D model took the most time when loading a game level.

Usage: @@ -716,7 +716,7 @@

  • -

    If you measure some specific operation, you can output only this operation (including sub-operations that happened within) by passing additional argument to the . Like this: +

    If you measure some specific task, you can output only this task (including sub-tasks that happened within) by passing additional argument to the . Like this: