-
Notifications
You must be signed in to change notification settings - Fork 161
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
Conversation
There was a problem hiding this 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.
There was a problem hiding this 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()), |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
Retargeted #489 to
0.11.x