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

=plugin migrate FastClasspathScanner to ClassGraph #25797

Merged
merged 1 commit into from
Oct 16, 2018

Conversation

He-Pin
Copy link
Member

@He-Pin He-Pin commented Oct 15, 2018

No description provided.

@akka-ci akka-ci added validating PR is currently being validated by Jenkins tested PR that was successfully built and tested by Jenkins and removed validating PR is currently being validated by Jenkins labels Oct 15, 2018
@akka-ci
Copy link

akka-ci commented Oct 15, 2018

Test PASSed.

.verbose()
.addClassLoader(classloader)
.scan()
val allClasses = scanner.getAllClasses.getNames.asScala.toVector
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is it the same thing that has moved, or what is the background?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The FastClassPathScananer is replaced by the ClassGraph, and only ClassGraph is being maintained now

Copy link
Member

@patriknw patriknw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Member

@chbatey chbatey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@chbatey chbatey added this to the 2.5.18 milestone Oct 16, 2018
@chbatey chbatey merged commit 1b6d185 into akka:master Oct 16, 2018
@patriknw
Copy link
Member

@hepin1989 Now it prints many many

2018-10-17T08:33:46.357+0200	ClassGraph	------ Skipping non-whitelisted path: scala/reflect/internal/Importers$$anon$3.class

when running sbt akka-docs/paradox. Can we silence that?

@patriknw
Copy link
Member

it also seems much slower than before (perhaps due to the logging?)
akka-docs/paradox takes ages, and that matters when writing documentation

@raboof
Copy link
Member

raboof commented Oct 17, 2018

For me it went from an already-painful 10s to ~14s... would be great if we could speed this up somehow.

@patriknw
Copy link
Member

The problem was verbose(). Removed in #25806

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tested PR that was successfully built and tested by Jenkins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants