Skip to content

Profiling JUnit tests? #596

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

Open
mumrah opened this issue Mar 8, 2025 · 1 comment
Open

Profiling JUnit tests? #596

mumrah opened this issue Mar 8, 2025 · 1 comment

Comments

@mumrah
Copy link

mumrah commented Mar 8, 2025

I have tried running some tests with the async-profiler, but it seems that the profile is mainly composed of the compiler and Gradle runtime classes. Can this profiler be used to profile JUnit tests themselves?

@breskeby
Copy link

The gradle profiler is made to profile build logic and not junit tests. Therefore it cannot be used for profiling junit tests. you can only profile the build logic part of running those tests

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

2 participants