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 ClasspathUtilCore.getSourceAnnotation() performance #13 #15

Merged
merged 1 commit into from
Apr 8, 2022
Merged

Conversation

jukzi
Copy link
Contributor

@jukzi jukzi commented Apr 7, 2022

Get rid of some File.isFile() I/O where it is impossible that such file
exists anyway:
"file.jar/src.zip"
"directory/absoulteFileName"

In my usecase it reduces getSourceAnnotation() from 3sec to 1.2sec

Get rid of some File.isFile() I/O where it is impossible that such file
exists anyway:
"file.jar/src.zip"
"directory/absoulteFileName"

In my usecase it reduces getSourceAnnotation() from 3sec to 1.2sec

Signed-off-by: Joerg Kubitz <[email protected]>
@vogella
Copy link
Contributor

vogella commented Apr 8, 2022

@EclipseNewb are you the new @jukzi?

@vogella vogella merged commit 8086e27 into eclipse-pde:master Apr 8, 2022
@mickaelistria
Copy link
Contributor

Is M1 done? I didn't see a note that master is open for merge.

@vogella
Copy link
Contributor

vogella commented Apr 8, 2022

Ups, I saw the go from all components in eclipse-platform/eclipse.platform.releng.aggregator#198 and assume that we released. But I also do not see the note. I assume we will not see a rebuild, so hopefully this does not need a revert.

@ghost
Copy link

ghost commented Apr 8, 2022

@vogella yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
performance Performance issues
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants