Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: skip maxDepth filtering if natively supported #560

Merged
merged 2 commits into from
Jan 3, 2025

Conversation

43081j
Copy link
Contributor

@43081j 43081j commented Jan 2, 2025

Skips maxDepth filtering if all drivers in the current storage instance natively support it (via the maxDepth flag).

Also enables the maxDepth flag for fs and fs-lite drivers.

Depends on #551

@pi0 pi0 changed the title feat: skip maxDepth filtering if natively supported perf: skip maxDepth filtering if natively supported Jan 2, 2025
Skips `maxDepth` filtering if _all_ drivers in the current storage
instance natively support it (via the `maxDepth` flag).

Also enables the `maxDepth` flag for `fs` and `fs-lite` drivers.
Copy link

codecov bot commented Jan 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 60.01%. Comparing base (4d61c78) to head (323c706).
Report is 160 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #560      +/-   ##
==========================================
- Coverage   65.05%   60.01%   -5.04%     
==========================================
  Files          39       42       +3     
  Lines        4055     3649     -406     
  Branches      487      590     +103     
==========================================
- Hits         2638     2190     -448     
- Misses       1408     1456      +48     
+ Partials        9        3       -6     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@pi0 pi0 merged commit aec28a8 into unjs:main Jan 3, 2025
3 of 4 checks passed
@43081j 43081j deleted the depth-shortcut branch January 3, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants