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

Improve ClassPathManager performance, caching unfound entries #308

Conversation

harrisric
Copy link
Contributor

@harrisric harrisric commented Apr 24, 2024

Fixes #306.

@kriegaex
Copy link
Contributor

kriegaex commented Apr 25, 2024

@harrisric, you do not seem to have signed the Eclipse Contributor Agreement (ECA) yet. Please do that, otherwise I cannot accept your PR, even after verifying it technically and functionally. Thank you in advance.

kriegaex and others added 2 commits April 25, 2024 15:11
Performance regression test for eclipse-aspectj#306, failing before the enhancement and
passing afterward.

Signed-off-by: Alexander Kriegisch <[email protected]>
Fixes eclipse-aspectj#306 and adds a few small optimisations.

Co-authored-by: Alexander Kriegisch <[email protected]>
Signed-off-by: Alexander Kriegisch <[email protected]>
@kriegaex kriegaex force-pushed the fix/improve-classpathmanager-performance branch from 43c7ea0 to 7cc687a Compare April 25, 2024 13:18
@kriegaex
Copy link
Contributor

kriegaex commented Apr 25, 2024

@harrisric, please note that I added a test in a new commit, then reordered the commits and force-pushed after slightly modifying your commit message. Does that look OK to you?

The ECA check now also passes, either due to my co-authorship or because you signed the ECA in the meantime.

@kriegaex kriegaex self-assigned this Apr 25, 2024
@kriegaex kriegaex added the enhancement New feature or request label Apr 25, 2024
@kriegaex kriegaex added this to the 1.9.22.1 milestone Apr 25, 2024
@kriegaex kriegaex changed the title Improve performance of classpathmanager find by keeping track of any … Improve ClassPathManager performance, caching unfound entries Apr 25, 2024
Signed-off-by: Alexander Kriegisch <[email protected]>
@harrisric
Copy link
Contributor Author

@kriegaex yes, that looks good to me, and yes I have signed the ECA since the PR was first added. Thanks!

@kriegaex kriegaex merged commit e756040 into eclipse-aspectj:master Apr 26, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Performance issue due to repeated attempts to find classes without FQN
2 participants