KEMBAR78
Implement search feature by openorclose · Pull Request #1030 · async-profiler/async-profiler · GitHub
Skip to content

Conversation

@openorclose
Copy link
Contributor

Description

Press N to go to the next search result and Shift-N to go to the previous

Search results are visited depth-first, visiting all results of a stack before moving on to the next stack on the right.

This doesn't try to filter out any frames at all, so it is more intuitive how the next and previous works, at the cost of possibly navigating to more frames than neccesary.

Note: I only updated the demo flamegraph html for now, will update the actual one once the PR is finalised.

Related issues

Motivation and context

This allows users to search for results that may be see when they are a low % of the samples.

How has this been tested?

This branch is built automatically to https://openorclose.github.io/async-profiler/demo/flamegraph.html for testing.


By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Press N to go to the next search result and Shift-N to go to the previous

Search results are visited depth-first, visiting all results of a stack before moving on to the next stack on the right
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.

1 participant