Skip to content

Commit 0cbb232

Browse files
authored
Merge pull request #636 from brave/memory-usage-formatter
Use custom formatters for memory usage benchmarks
2 parents ae351f4 + beca217 commit 0cbb232

5 files changed

Lines changed: 214 additions & 88 deletions

File tree

.github/scripts/run-benchmarks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ echo "Running startup speed benchmark..."
1515
cargo bench --bench bench_rules blocker_new/brave-list -- --output-format bencher
1616

1717
echo "Running memory usage benchmark..."
18-
cargo bench --bench bench_memory memory-usage -- --output-format bencher
18+
cargo bench --bench bench_memory memory-usage -- --output-format bencher --noplot
1919

2020
echo "Running cosmetic matching benchmark..."
2121
cargo bench --bench bench_cosmetic_matching -- --output-format bencher

Cargo.lock

Lines changed: 29 additions & 28 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ thiserror = "1.0"
4545
flatbuffers = { version = "25.12.19" }
4646

4747
[dev-dependencies]
48-
criterion = "=0.5.1"
48+
criterion = "=0.8.2"
4949
csv = "=1.3.0"
5050
mock_instant = { version = "=0.5.1" }
5151
reqwest = "=0.13.3"

0 commit comments

Comments
 (0)