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

Changes to improve performance of Bundle validation (R3) #2022

Merged

Conversation

ewoutkramer
Copy link
Member

Added state to keep track of which (nested/contained)resources have already been validated.

Avoiding duplicate validation will keep bundle validation perf reasonable (we hope).

…lready been validated.

Avoiding duplicate validation will keep bundle validation perf reasonable (we hope).
@ewoutkramer ewoutkramer changed the title Changes to improve performance of Bundle validation Changes to improve performance of Bundle validation (R3) Mar 25, 2022
new CachedResolver(
new MultiResolver(
new TestProfileArtifactSource(),
new ZipSource("specification.zip"),
Copy link
Member

Choose a reason for hiding this comment

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

I prefer ZipSource.CreateValidationSource()

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, right....I just copied this code, so I'll need to track down where I copied it from too....

@marcovisserFurore marcovisserFurore merged commit c60c1a0 into develop-stu3 Mar 28, 2022
@marcovisserFurore marcovisserFurore deleted the feature/bundle-validation-perf-improvements branch March 28, 2022 13:54
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

Successfully merging this pull request may close these issues.

2 participants