Repository navigation
speed up gitdir function by ~20% - #1960
Conversation
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## next #1960 +/- ##
==========================================
- Coverage 81.95% 81.93% -0.03%
==========================================
Files 54 54
Lines 2455 2452 -3
Branches 718 718
==========================================
- Hits 2012 2009 -3
Misses 400 400
Partials 43 43 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
from my testing this reduces the time to run tests that use
gitdirby about 20-30%for example:
git.test.ts: 40s -> 32sstatus.test.ts: 10s -> 7sseems to be about 10s faster in ci as well
ci screenshots
nextthis pr