Skip to content

Conversation

@atuchin-m
Copy link
Collaborator

@atuchin-m atuchin-m commented Nov 5, 2025

-10% alloc count, -5-10% building time.

Before:
image

After:
image

@atuchin-m atuchin-m self-assigned this Nov 5, 2025
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Rust Benchmark

Benchmark suite Current: 19e0a1a Previous: fca4bc5 Ratio
rule-match-browserlike/brave-list 2224955537 ns/iter (± 9496420) 2217231164 ns/iter (± 9972499) 1.00
rule-match-first-request/brave-list 1124904 ns/iter (± 8971) 1138984 ns/iter (± 12605) 0.99
blocker_new/brave-list 150480033 ns/iter (± 271243) 165009583 ns/iter (± 313867) 0.91
blocker_new/brave-list-deserialize 23682603 ns/iter (± 102904) 23484976 ns/iter (± 262551) 1.01
memory-usage/brave-list-initial 10212240 ns/iter (± 3) 10212224 ns/iter (± 3) 1.00
memory-usage/brave-list-initial/max 63146615 ns/iter (± 3) 62256247 ns/iter (± 3) 1.01
memory-usage/brave-list-initial/alloc-count 1231572 ns/iter (± 3) 1362325 ns/iter (± 3) 0.90
memory-usage/brave-list-1000-requests 2666990 ns/iter (± 3) 2666958 ns/iter (± 3) 1.00
memory-usage/brave-list-1000-requests/alloc-count 71417 ns/iter (± 3) 71369 ns/iter (± 3) 1.00
url_cosmetic_resources/brave-list 203641 ns/iter (± 733) 202616 ns/iter (± 728) 1.01
cosmetic-class-id-match/brave-list 3331840 ns/iter (± 914942) 3413013 ns/iter (± 963790) 0.98

This comment was automatically generated by workflow using github-action-benchmark.

@atuchin-m atuchin-m force-pushed the optimize-FlatMultiMapBuilder branch from 69c3ba0 to e2e724c Compare November 5, 2025 16:46
@atuchin-m atuchin-m force-pushed the optimize-FlatMultiMapBuilder branch from e2e724c to 19e0a1a Compare November 5, 2025 16:49
github-actions[bot]

This comment was marked as resolved.

@atuchin-m atuchin-m marked this pull request as ready for review November 5, 2025 17:10
@atuchin-m atuchin-m requested a review from a team as a code owner November 5, 2025 17:10
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