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

CPU Sampler Results Not Reset For a New Session #560

Closed
jisedlac opened this issue Mar 6, 2024 · 1 comment
Closed

CPU Sampler Results Not Reset For a New Session #560

jisedlac opened this issue Mar 6, 2024 · 1 comment
Assignees
Labels

Comments

@jisedlac
Copy link
Member

jisedlac commented Mar 6, 2024

I have an application which only invokes its code on a request (user action). I've configured a CPU Sampler session for it to only profile its classes (com.example.*).

When I start the CPU Sampler session, the results are initially empty. Then I invoke the request to execute some application code and I can see the results. Till now everything works as expected.

Now I stop the CPU Sampler session session, and start it again. I can still see the results from the previous session, which is misleading. Only after I invoke a request again to execute the application code, the new results will replace those from the previous session.

The expected behavior is to have the data from the previous CPU Sampler session reset when new session is starting, and see empty results for the new session as long as no application code is being executed.

@jisedlac jisedlac added the bug label Mar 6, 2024
@thurka thurka self-assigned this Mar 6, 2024
@thurka
Copy link
Member

thurka commented Mar 7, 2024

Fixed in master.

@thurka thurka closed this as completed Mar 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants