mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-16 16:40:19 +00:00

This PR introduces a new `crates` directory and moves all "product" crates into that folder. Part of #2059.
12 lines
524 B
Bash
Executable file
12 lines
524 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 ./crates/ruff/resources/test/cpython/ --no-cache" \
|
|
"pyflakes crates/ruff/resources/test/cpython" \
|
|
"autoflake --recursive --expand-star-imports --remove-all-unused-imports --remove-unused-variables --remove-duplicate-keys crates/ruff/resources/test/cpython" \
|
|
"pycodestyle crates/ruff/resources/test/cpython" \
|
|
"flake8 crates/ruff/resources/test/cpython"
|