brave / brave/adblock-rust

FilterSet::add_filters uses a lot of resources

Open
#541 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
2.8k
Forks
250
Avg merge
1d 16h
Merged PRs (30d)
6

Description

According to the benchmark, for data/brave/brave-main-list.txt produces a significant part of CPU to parse the lists.
Moreover, that makes a peak memory 67MB.

Related report: https://github.com/brave/brave-browser/issues/50361

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating FilterSet::add_filters and the benchmark that processes data/brave/brave-main-list.txt. Read the related Brave report for context, then measure CPU use and peak memory during list parsing. Done means the benchmark demonstrates reduced resource usage, though the issue provides no target threshold.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.