-
Notifications
You must be signed in to change notification settings - Fork 69
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
perf(filter): add cache for pattern matching handler #1038
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
almostinf
changed the title
feat(filter): add cache regex for tags
feat(filter): add cache for pattern matching handler
Jun 24, 2024
almostinf
changed the title
feat(filter): add cache for pattern matching handler
perf(filter): add cache for pattern matching handler
Jun 24, 2024
kissken
previously approved these changes
Jun 24, 2024
Bumps [github.com/hashicorp/go-retryablehttp](https://github.com/hashicorp/go-retryablehttp) from 0.7.1 to 0.7.7. - [Changelog](https://github.com/hashicorp/go-retryablehttp/blob/main/CHANGELOG.md) - [Commits](hashicorp/go-retryablehttp@v0.7.1...v0.7.7) --- updated-dependencies: - dependency-name: github.com/hashicorp/go-retryablehttp dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
/build |
/build |
kissken
approved these changes
Jun 26, 2024
Build and push Docker images with tag: 2024-06-26.4a2b7a5 |
2 similar comments
Build and push Docker images with tag: 2024-06-26.4a2b7a5 |
Build and push Docker images with tag: 2024-06-26.4a2b7a5 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add pattern matching cache
Added pattern matching handler caching to make GC life a little easier. Also added Refresh pattern storage benchmarks
On prod data with the right cache size:
On test data:
You can see that the cache increases speed and also greatly reduces the number of allocations