-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
MethodScanner performance issue #939
Comments
Do you have any benchmark numbers? Any suggestions? |
I found this while resolving issue with Android Studio 1.5.0 debugger, starting tests with debug takes very long, about 10-15 minutes, and I found that execution hangs on scan method. Without debug it executes normally so it's not really cucumber issue. I think that adding this would be sufficient
|
Feel free to send a pull request. You're in the best position to judge how well it works for you. |
reference from 1034 was typo. please ignore. no relation between the two. |
Closing. It appears this issue has been resolved a while ago. |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Hi,
I found that MethodScanner scan() method
is very unoptimal for annonymous classes and generally not instantiable classes. For those classes
glueCodeClass
variable becomesObject.class
which is useless. Then method scan() checks Object public methods against appearance of about 400 possible cucumber.api annotationsThe text was updated successfully, but these errors were encountered: