From ba156c2aaa0673473233f59f8e9294280c56da7d Mon Sep 17 00:00:00 2001 From: JoarGjersund Date: Thu, 2 Jan 2025 10:08:07 +0100 Subject: [PATCH] improve performance during tracing of function names --- source/advanced/execution-tracing.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/source/advanced/execution-tracing.md b/source/advanced/execution-tracing.md index d70b4f0..f34b38c 100644 --- a/source/advanced/execution-tracing.md +++ b/source/advanced/execution-tracing.md @@ -28,7 +28,9 @@ cpu LogFunctionNames false ``` ```{note} -You can also add another `true` at the end of this command to remove duplicate function names from subsequent code blocks and achieve better overall performance. +You can also add another `true` at the end of this command to remove duplicate function names from subsequent code blocks and achieve better overall performance. + +For even better performance you can use `cpu LogTranslationBlockFetch true` to only log when a block is translated, not when it is executed. ``` To filter function names based on a prefix, add the prefix as a string at the end of the function: