Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GUI Filter: Display only functions / methods with profiled lines #813

Open
mucmch opened this issue Apr 18, 2024 · 0 comments
Open

GUI Filter: Display only functions / methods with profiled lines #813

mucmch opened this issue Apr 18, 2024 · 0 comments

Comments

@mucmch
Copy link

mucmch commented Apr 18, 2024

Thank you for this great project!

Is your feature request related to a problem? Please describe.

Currently, the GUI output has the boolean option "only display profiled lines".

If true: It only shows very few code lines and no information on the context, making it hard to grasp what this part of the code is doing and in which context the line of code gets called. If there are line breaks, it might even show incomplete statements.

If false: Depending on the code, might show a full file with thousands of lines of code. Of this code, only a small fraction might have run at all. Most of the code might be completely irrelevant for the task at hand.

Describe the solution you'd like
Adding a third option showing only functions / methods that contain profiled lines.

A potential alternative could be, have an option to show the profile lines within their context, e.g. by showing the previous and next 10 or so lines of code.

@mucmch mucmch changed the title HTML Filter: Display only functions / methods with profiled lines GUI Filter: Display only functions / methods with profiled lines Apr 18, 2024
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

No branches or pull requests

1 participant