ruff/crates/ruff_dev/src
konsti 0c9ded9d84
Use a faster diffing library for the formatter ecosystem checks (#6497)
**Summary** Some files seems notoriously slow in the formatter (secons in debug mode). This time was however almost exclusively spent in the diff algorithm to collect the similarity index, so i replaced that. I kept `similar` for printing actual diff to avoid rewriting that too, with the disadvantage that we now have to diff libraries in format_dev.

I used this PR to remove the spinner from tracing-indicatif and changed `flamegraph --perfdata perf.data` to `flamegraph --perfdata perf.data --no-inline` as the former wouldn't finish for me on release builds with debug info.
2023-08-11 15:51:54 +02:00
..
format_dev.rs Use a faster diffing library for the formatter ecosystem checks (#6497) 2023-08-11 15:51:54 +02:00
generate_all.rs Document ruff_dev and format_dev (#5648) 2023-07-12 16:18:22 +02:00
generate_cli_help.rs Use mod tests consistently (#5278) 2023-06-22 01:50:28 +00:00
generate_docs.rs Fix links in docs (#6265) 2023-08-02 09:42:25 +02:00
generate_json_schema.rs Filter off-by-default RUF014 out of schema (#5832) 2023-07-19 21:06:10 +00:00
generate_options.rs Document ruff_dev and format_dev (#5648) 2023-07-12 16:18:22 +02:00
generate_rules_table.rs Document ruff_dev and format_dev (#5648) 2023-07-12 16:18:22 +02:00
main.rs Extend ruff_dev formatter script to compute statistics and format a project (#5492) 2023-07-07 11:30:12 +00:00
print_ast.rs Use Jupyter mode while parsing Notebook files (#5552) 2023-08-05 00:32:07 +00:00
print_cst.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
print_tokens.rs Use Jupyter mode while parsing Notebook files (#5552) 2023-08-05 00:32:07 +00:00
round_trip.rs Remove parser dependency from ruff-python-ast (#6096) 2023-07-26 17:47:22 +02:00