-
Notifications
You must be signed in to change notification settings - Fork 141
Setup basic perf CI #417
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
Setup basic perf CI #417
Conversation
data/update-lists.js
Outdated
const readline = require("readline"); | ||
const fs = require("fs"); | ||
|
||
const rl = readline.createInterface({ |
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.
wouldn't it be easier to pass the key as a command parameter?
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.
make sense, done.
This reverts commit baf562a.
data/update-lists.js
Outdated
); | ||
|
||
try { | ||
execSync("unzip extension.zip list.txt"); |
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.
I'd either do this part in a temp directory or warn if there are any existing files that could get overwritten
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.
Updated to use a temp dir.
|
||
[features] | ||
default-panic-hook = [] |
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.
I don't think this does anything?
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.
Without it the build got red from time to time:
https://github.com/brave/adblock-rust/actions/runs/12949269594/job/36119648931#step:6:186
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.
One of the changes in Rust 1.84 is rust-lang/rust#132577, so this is now a lint warning (and thus an error since we've configured lint warnings as errors). I think it's resolved in newer versions of Neon, but we can leave it here as-is for now.
The PR:
2 updates easylists*, remove file duplicates and add brave main list in the benchmarks. Also provides a script to do the next updates.
An example (from a forked repo):

