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

Performance enhancement: only download and parse license & exception JSON files once #202

Open
pmonks opened this issue Sep 13, 2023 · 0 comments

Comments

@pmonks
Copy link
Collaborator

pmonks commented Sep 13, 2023

I've noticed that some JSON files are downloaded (and presumably also parsed) repeatedly during the unit tests, which seems to suggest that a performance enhancement may be possible whereby those files are only downloaded and parsed into memory once, then reused. It seems to mostly (only?) happen for the JSON files for individual licenses and exceptions (e.g. https://spdx.org/licenses/Apache-2.0.json), and in issue #193 @goneall confirmed that that was his understanding too.

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

No branches or pull requests

1 participant