mirror of
https://github.com/PyCQA/flake8.git
synced 2026-03-29 10:36:53 +00:00
Add --benchmark option documentation
This commit is contained in:
parent
adedd6c5cf
commit
16f58005bf
1 changed files with 21 additions and 0 deletions
|
|
@ -706,3 +706,24 @@
|
|||
exclude_in_doctest =
|
||||
dir/subdir/file.py,
|
||||
dir/other/file.py
|
||||
|
||||
|
||||
.. option:: --benchmark
|
||||
|
||||
Collect and print benchmarks for this run of Flake8. This aggregates the
|
||||
total number of:
|
||||
|
||||
- tokens
|
||||
- physical lines
|
||||
- logical lines
|
||||
- files
|
||||
|
||||
and the number of elapsed seconds.
|
||||
|
||||
Command-line usage:
|
||||
|
||||
.. prompt:: bash
|
||||
|
||||
flake8 --benchmark dir/
|
||||
|
||||
This **can not** be specified in config files.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue