Update benchmark scripts, use uv (#15120)

This commit is contained in:
Micha Reiser 2024-12-23 11:14:15 +01:00 committed by GitHub
parent 8440f3ea9f
commit dcb85b7088
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 335 additions and 601 deletions

View file

@ -4,5 +4,5 @@
# Benchmark Ruff on the CPython codebase.
###
cargo build --release && hyperfine --ignore-failure --warmup 10 \
"./target/release/ruff ./crates/ruff_linter/resources/test/cpython/ --no-cache"
cargo build --release && hyperfine --warmup 10 \
"./target/release/ruff check ./crates/ruff_linter/resources/test/cpython/ --no-cache --exit-zero"