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 2389049477 ns/iter (± 27996261) 2217231164 ns/iter (± 9972499) 1.08
rule-match-first-request/brave-list 1188050 ns/iter (± 43091) 1138984 ns/iter (± 12605) 1.04
blocker_new/brave-list 166610439 ns/iter (± 3191068) 165009583 ns/iter (± 313867) 1.01
blocker_new/brave-list-deserialize 30143929 ns/iter (± 2171638) 23484976 ns/iter (± 262551) 1.28
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 2666974 ns/iter (± 3) 2666958 ns/iter (± 3) 1.00
memory-usage/brave-list-1000-requests/alloc-count 71385 ns/iter (± 3) 71369 ns/iter (± 3) 1.00
url_cosmetic_resources/brave-list 205107 ns/iter (± 1079) 202616 ns/iter (± 728) 1.01
cosmetic-class-id-match/brave-list 3357191 ns/iter (± 915799) 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
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.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'Rust Benchmark'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.10.

Benchmark suite Current: 19e0a1a Previous: fca4bc5 Ratio
blocker_new/brave-list-deserialize 30143929 ns/iter (± 2171638) 23484976 ns/iter (± 262551) 1.28

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

@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