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

efficiency tweaks WIP #1618

Closed
wants to merge 1 commit into from
Closed

efficiency tweaks WIP #1618

wants to merge 1 commit into from

Conversation

tduehr
Copy link

@tduehr tduehr commented Dec 17, 2018

Fixes Issue

partial fix for dependency-check/dependency-check-gradle#100

Description of Change

Caches some intermediate results and updates loops to more efficient Java 8 Streams and Lambdas. Lays some of the groundwork to reduce duplicated effort within a single job (currently theis mostly affects Aggregate). More work is required to reduce effort across multiple subprojects for analyze to realize efficiency gains.

Have test cases been added to cover the new functionality?

N/A

@jeremylong
Copy link
Owner

Thanks - I'll review this (hopefully) soon. I am in heads down development of 5.0.0 (see https://github.com/jeremylong/DependencyCheck/tree/jsonDataFeeds). There will be a ton of changes beyond what is in that branch.

@tduehr
Copy link
Author

tduehr commented Dec 18, 2018

Is there another branch you're working from for that stuff? It's probably just easier to work from the dev branch...

@jeremylong
Copy link
Owner

@tduehr I am following a more traditional git flow process. The only difference is that the feature branch I pointed to above is going to take a while to finish and touches a lot of the project. I know I'm going to have some interesting merge conflicts when I rebase the jsonDataFeeds branch.

@@ -142,6 +142,10 @@ Copyright (c) 2012 Jeremy Long. All Rights Reserved.
</plugins>
</build>
<dependencies>
<dependency>
Copy link
Owner

Choose a reason for hiding this comment

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

In a quick review of the code I don't see jackson-databind being used anywhere?

@tduehr
Copy link
Author

tduehr commented Dec 20, 2018

I think that is from trying to debug an error I was getting compiling in jdk 11. I’ll remove it.

@jeremylong
Copy link
Owner

I rebased this PR locally to resolve the issue with animal sniffer (see #1638). There are several test case failures due to these changes.

@jeremylong jeremylong closed this Jun 30, 2019
@lock lock bot locked and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants