mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-30 15:17:59 +00:00
12 lines
464 B
Bash
Executable file
12 lines
464 B
Bash
Executable file
#!/usr/bin/env sh
|
|
|
|
###
|
|
# Benchmark Ruff's performance against a variety of similar tools.
|
|
###
|
|
|
|
hyperfine --ignore-failure --warmup 5 \
|
|
"./target/release/ruff ./resources/test/cpython/ --no-cache" \
|
|
"pyflakes resources/test/cpython" \
|
|
"autoflake --recursive --expand-star-imports --remove-all-unused-imports --remove-unused-variables --remove-duplicate-keys resources/test/cpython" \
|
|
"pycodestyle resources/test/cpython" \
|
|
"flake8 resources/test/cpython"
|