Skip to content

Use the one flatbuffer to store all lists [0.11.x] #493

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
merged 22 commits into from
Jul 1, 2025
Merged

Conversation

atuchin-m
Copy link
Collaborator

Retargeted #489 to 0.11.x

@atuchin-m atuchin-m self-assigned this Jun 30, 2025
@atuchin-m atuchin-m requested a review from antonok-edm as a code owner June 30, 2025 11:48
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: 3f7aa97 Previous: 4738d3f Ratio
rule-match-browserlike/brave-list 2276544815 ns/iter (± 20923937) 2252126465 ns/iter (± 13369021) 1.01
rule-match-first-request/brave-list 1006441 ns/iter (± 9030) 1000284 ns/iter (± 8364) 1.01
blocker_new/brave-list 149232363 ns/iter (± 1596195) 150674514 ns/iter (± 1975624) 0.99
blocker_new/brave-list-deserialize 64506480 ns/iter (± 2732717) 62360204 ns/iter (± 1865060) 1.03
memory-usage/brave-list-initial 16282069 ns/iter (± 3) 16225933 ns/iter (± 3) 1.00
memory-usage/brave-list-initial/max 64817658 ns/iter (± 3) 64817658 ns/iter (± 3) 1
memory-usage/brave-list-initial/alloc-count 1514486 ns/iter (± 3) 1514650 ns/iter (± 3) 1.00
memory-usage/brave-list-1000-requests 2516487 ns/iter (± 3) 2505592 ns/iter (± 3) 1.00
memory-usage/brave-list-1000-requests/alloc-count 66556 ns/iter (± 3) 66070 ns/iter (± 3) 1.01

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

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: 0bb327f Previous: 4738d3f Ratio
blocker_new/brave-list-deserialize 70978848 ns/iter (± 1126125) 62360204 ns/iter (± 1865060) 1.14

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

src/engine.rs Outdated

Self {
blocker: Blocker::new(network_filters, &blocker_options),
blocker: Blocker::from_context(filter_data_context.clone()),
Copy link
Collaborator

Choose a reason for hiding this comment

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

this .clone() should be FilterDataContextRef::clone

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done

@atuchin-m atuchin-m merged commit ecd3adb into 0.11.x Jul 1, 2025
7 checks passed
@atuchin-m atuchin-m deleted the the-one-fb branch July 1, 2025 10:00
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