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

JUnitPerfInterceptorSuite interception approach is drastically slowing the suite #91

Open
nagkumar opened this issue Jun 9, 2023 · 1 comment

Comments

@nagkumar
Copy link

nagkumar commented Jun 9, 2023

Is there a way to reduce the overhead as suite has substantially slowed..

however, did like that it is able to tell the methods that are slower than configured performance parameters..

@nagkumar nagkumar changed the title com.tejasoft.tests.ju.ju5.ut.perf.noconnor.utils.JUnitPerfInterceptorSuite inerception approach is drastically slowing the suite JUnitPerfInterceptorSuite interception approach is drastically slowing the suite Jun 9, 2023
@noconnor
Copy link
Owner

Try using ‘totalExecutions’ to run each test for a fix number of iterations instead of for a fixed ‘durationMs’

You could also look into running tests in parallel
https://junit.org/junit5/docs/current/user-guide/#writing-tests-parallel-execution

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