Open cache files in parallel (#5120)

## Summary

Open cache files in parallel (again), brings the performance back to be roughly equal to the old implementation.

## Test Plan

Existing tests should keep working.
This commit is contained in:
Thomas de Zeeuw
2023-06-20 17:43:09 +02:00
committed by GitHub
parent 062b6e5c2b
commit 17f1ecd56e
8 changed files with 353 additions and 125 deletions

View File

@@ -76,6 +76,9 @@ jobs:
cargo insta test --all --all-features
git diff --exit-code
- run: cargo test --package ruff_cli --test black_compatibility_test -- --ignored
# Skipped as it's currently broken. The resource were moved from the
# ruff_cli to ruff crate, but this test was not updated.
if: false
# Check for broken links in the documentation.
- run: cargo doc --all --no-deps
env: