File: run_silent.sh

package info (click to toggle)
ruff 0.0.291%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 27,672 kB
  • sloc: python: 30,930; sh: 189; makefile: 9
file content (12 lines) | stat: -rwxr-xr-x 521 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
#!/usr/bin/env sh

###
# Benchmark Ruff's performance against a variety of similar tools, suppressing output as much as
# possible (so as to reduce I/O overhead).
###

hyperfine --ignore-failure --warmup 5 \
  "./target/release/ruff ./crates/ruff_linter/resources/test/cpython/ --no-cache --silent" \
  "pycodestyle ./crates/ruff_linter/resources/test/cpython -qq" \
  "flake8 ./crates/ruff_linter/resources/test/cpython -qq" \
  "pylint ./crates/ruff_linter/resources/test/cpython -j 0  --recursive=y --disable=E,W,C,R"