-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(grouping): Only calculate secondary hash when needed (#65275)
After a _great_ deal of refactoring and breaking apart the logic of how we assign events to groups, this PR finally makes the desired change: to stop calculating secondary hashes when we already have a matching primary hash. Metrics to measure the effect of this change will be added in upcoming PRs, but one sign of the success of this change is the adjustment necessary in the tests. Whereas before, being in a transition period always meant doing two calculations, now when the new logic is enabled, being in a transition is no different than not being in a transition - at least in the case where the current hash has already been calculated. And our research has shown that this is case the vast majority of the time, so hopefully this should make a big impact when we change configs and make it much less expensive to do so.
- Loading branch information
1 parent
d268f2e
commit bf85769
Showing
2 changed files
with
21 additions
and
10 deletions.
There are no files selected for viewing
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
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