Skip to content

Refactor: Add DisplayNewTraces hook#670

Merged
hhubert6 merged 2 commits intomainfrom
661-create-displaynewtraces-hook
Aug 12, 2025
Merged

Refactor: Add DisplayNewTraces hook#670
hhubert6 merged 2 commits intomainfrom
661-create-displaynewtraces-hook

Conversation

@hhubert6
Copy link
Contributor

I tried to mitigate this unpleasant effect when filtering by execution time. When callback takes at least a few hundred milliseconds after call trace is displayed with timer and then is removed if filter does not match. However when callback is quick (something around under 10ms) it sometimes is not displayed at all and sometimes it shows for a split second. With many callbacks running traces blinks which randomly. I tried to resolve this with some debouncing.

@hhubert6 hhubert6 requested review from GuzekAlan and kraleppa August 11, 2025 10:59
@hhubert6 hhubert6 linked an issue Aug 11, 2025 that may be closed by this pull request
Copy link
Member

@kraleppa kraleppa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice idea with using debounce!

@hhubert6 hhubert6 requested a review from GuzekAlan August 12, 2025 09:17
@hhubert6 hhubert6 merged commit 58e4f1a into main Aug 12, 2025
2 checks passed
@hhubert6 hhubert6 deleted the 661-create-displaynewtraces-hook branch August 12, 2025 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create DisplayNewTraces hook

3 participants