ruff/crates/ruff_dev/src
Micha Reiser dc65007fe9
Use rayon to parallelize the stability check
<!--
Thank you for contributing to Ruff! To help us out with reviewing, please consider the following:

- Does this pull request include a summary of the change? (See below.)
- Does this pull request include a descriptive title?
- Does this pull request include references to any relevant issues?
-->

## Summary

This PR uses rayon to parallelize the stability check by scheduling each project as its own task.

<!-- What's the purpose of the change? What does it do, and why? -->

## Test Plan

I ran the ecosystem check. It now makes use of all cores (except at the end, there are some large projects). 

## Performance

The check now completes in minutes where it took about 30 minutes before.

<!-- How was it tested? -->
2023-06-30 10:05:25 +02:00
..
check_formatter_stability.rs Use rayon to parallelize the stability check 2023-06-30 10:05:25 +02:00
generate_all.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
generate_cli_help.rs Use mod tests consistently (#5278) 2023-06-22 01:50:28 +00:00
generate_docs.rs Update option anchors to include group name (#4711) 2023-05-29 17:26:10 -04:00
generate_json_schema.rs Use mod tests consistently (#5278) 2023-06-22 01:50:28 +00:00
generate_options.rs Update option anchors to include group name (#4711) 2023-05-29 17:26:10 -04:00
generate_rules_table.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
main.rs Fix ruff_dev repeat by removing short argument (#5388) 2023-06-27 13:29:20 +00:00
print_ast.rs Upgrade RustPython (#4747) 2023-05-31 08:26:35 +00:00
print_cst.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
print_tokens.rs Disallow unreachable_pub (#4314) 2023-05-11 18:00:00 -04:00
round_trip.rs Experimental release for Jupyter notebook integration (#5363) 2023-06-26 21:22:42 +05:30