ruff/crates/ruff_benchmark
Charlie Marsh 9d6444138b
Remove lexing and parsing from the linter benchmark (#9264)
## Summary

This PR adds some helper structs to the linter paths to enable passing
in the pre-computed tokens and parsed source code during benchmarking,
to remove lexing and parsing from the overall linter benchmark
measurement. We already remove parsing for the formatter, and we have
separate benchmarks for the lexer and the parser, so this should make it
much easier to measure linter performance changes.
2023-12-23 16:43:11 -05:00
..
benches Remove lexing and parsing from the linter benchmark (#9264) 2023-12-23 16:43:11 -05:00
src Use Codspeed for continous benchmarking (#6896) 2023-08-26 16:34:35 +02:00
Cargo.toml Bump ureq from 2.8.0 to 2.9.1 (#8993) 2023-12-04 09:53:25 -06: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.