profiler icon indicating copy to clipboard operation
profiler copied to clipboard

Make the stack chart display traces sequentially instead of by actual time.

Open ochameau opened this issue 1 year ago • 0 comments

When using the JavaScript Tracer, the profiler will show the stack based on actual time. So that if the recorded function calls run in a short period of time and nothing else run in between, you will end up with a profile like this one: image Notice the following focus event handler: image It can't even be hovered in order to double click and focus on it. The stack chart is mostly empty.

It would be neat to have an option to make the stack chart display the frames next to each others, without any white space between them. Thus, no longer be based on time. We may also make each frame be of the same width by ignoring their execution duration. This would help highlight that focus event handler versus the rest of the executions.

┆Issue is synchronized with this Jira Task

ochameau avatar Aug 27 '24 16:08 ochameau