mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
Update benchmark scripts, use uv (#15120)
This commit is contained in:
parent
8440f3ea9f
commit
dcb85b7088
11 changed files with 335 additions and 601 deletions
|
@ -4,9 +4,9 @@
|
|||
# Benchmark Ruff's performance against a variety of similar tools.
|
||||
###
|
||||
|
||||
hyperfine --ignore-failure --warmup 5 \
|
||||
"./target/release/ruff ./crates/ruff_linter/resources/test/cpython/ --no-cache" \
|
||||
hyperfine --ignore-failure --warmup 2 --runs 5\
|
||||
"./target/release/ruff check ./crates/ruff_linter/resources/test/cpython/ --no-cache --exit-zero" \
|
||||
"pyflakes crates/ruff_linter/resources/test/cpython" \
|
||||
"autoflake --recursive --expand-star-imports --remove-all-unused-imports --remove-unused-variables --remove-duplicate-keys crates/ruff_linter/resources/test/cpython" \
|
||||
"pycodestyle crates/ruff_linter/resources/test/cpython" \
|
||||
"flake8 crates/ruff_linter/resources/test/cpython"
|
||||
"flake8 crates/ruff_linter/resources/test/cpython --exit-zero"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue