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

perf(filter): Optimize maps read/writes in hot path #1114

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

Tetrergeru
Copy link
Member

@Tetrergeru Tetrergeru commented Oct 28, 2024

Профилировки показали, что заполнение и чтение мапы в методе MatchWithValue префиксного дерева потребляет порядка 18% времени CPU в фильтрах. Заменил заполнение мапы на передачу колбека

@Tetrergeru Tetrergeru marked this pull request as ready for review October 28, 2024 08:48
@Tetrergeru Tetrergeru requested a review from a team as a code owner October 28, 2024 08:48
@Tetrergeru
Copy link
Member Author

/build

@Tetrergeru Tetrergeru merged commit ab5833a into master Oct 29, 2024
7 checks passed
@Tetrergeru Tetrergeru deleted the perf/optimize-map-in-filter branch October 29, 2024 09:04
Copy link

Build and push Docker images with tag: 2024-10-29.ab5833a

1 similar comment
Copy link

Build and push Docker images with tag: 2024-10-29.ab5833a

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.

5 participants