ruff/crates/ruff_benchmark
konsti 4d16e2308d
Formatter and parser refactoring (#7569)
I got confused and refactored a bit, now the naming should be more
consistent. This is the basis for the range formatting work.

Chages:
* `format_module` -> `format_module_source` (format a string)
* `format_node` -> `format_module_ast` (format a program parsed into an
AST)
* Added `parse_ok_tokens` that takes `Token` instead of `Result<Token>`
* Call the source code `source` consistently
* Added a `tokens_and_ranges` helper
* `python_ast` -> `module` (because that's the type)
2023-09-26 15:29:43 +02:00
..
benches Formatter and parser refactoring (#7569) 2023-09-26 15:29:43 +02:00
src Use Codspeed for continous benchmarking (#6896) 2023-08-26 16:34:35 +02:00
Cargo.toml Rename ruff crate to ruff_linter (#7529) 2023-09-20 08:38:27 +02:00
README.md Unify benchmarking and profiling docs (#5145) 2023-06-21 09:39:56 +00:00

Ruff Benchmarks

The ruff_benchmark crate benchmarks the linter and the formatter on individual files.

See CONTRIBUTING.md on how to use these benchmarks.