Page 1 of 1

IDE Improvement: Logarithmic scale for the Profiler

Posted: Thu May 23, 2024 10:15 pm
by NilsH
Hello!

I want to suggest an improvement to the Profiler tool (from the Debugger menu).
When you have some lines in your code that are executed several million times, the horizontal scale of the chart becomes so large that you can no longer see the other lines that are executed much less often.

I suggest that an option should be added to enable logarithmic scaling of the horizontal axis.
This option should be controlled by a checkbox in the Profiler window.
When enabled, the tick marks on the horizontal axis should be placed at powers of ten, and the numbers below the ticks should be printed in scientific notation whenever that is shorter than normal notation.
In other words, the numbers would be shown as 1, 10, 100, 1e3, 1e4, 1e5 and so on.

Regards,
Nils