-
Notifications
You must be signed in to change notification settings - Fork 5.3k
stats: cache the results of the stats-matcher class. #6207
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
Merged
jmarantz
merged 19 commits into
envoyproxy:master
from
jmarantz:cache-stats-matcher-results
Mar 19, 2019
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
fd51c80
cache the results of the stats-matcher class.
jmarantz c0b0747
Merge branch 'master' into cache-stats-matcher-results
jmarantz 9c3b3ef
Refactor the tests a bit, and move the main rejection-cache into the …
jmarantz a1bbd88
Use set of explicitly managed char* rather than set of std::string so…
jmarantz 43b10da
Test that accepts-all and rejects-all scenarios don't call rejects().
jmarantz b3f8d58
Merge branch 'master' into cache-stats-matcher-results
jmarantz 9fd2905
Add more comments around the lifetime & function of the ThreadLocalSt…
jmarantz 6185123
Add more comments, and disallow copy constructors for StringSet.
jmarantz 75f99b6
Merge branch 'master' into cache-stats-matcher-results
jmarantz 2bace0f
Remove extraneous duplicate test method that was not used.
jmarantz 03fa724
Merge branch 'master' into cache-stats-matcher-results
jmarantz 106ee9f
Merge branch 'master' into cache-stats-matcher-results
jmarantz 7865fdb
Address review comments.
jmarantz b6f4e28
Merge branch 'master' into cache-stats-matcher-results
jmarantz 49067d9
Add TODO to clean up the leak, and use unique_ptr to simplify memory …
jmarantz 7af5cf2
remove superfluous reserve().
jmarantz 0fffd53
Remove leak, using shared_ptr<std::string> to mirror the leak-avoidan…
jmarantz cfea59d
Add comments about why the set is implemented using a map.
jmarantz 95b2752
Use heterogenous flat_hash_set rather than a flat_hash_map<const char…
jmarantz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.