You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When profiling Zed (#14238), a major factor in their no-op run times
is git patches and git dependencies. The slowest operation for each git
source is running `du`. This is extraneous for a couple of reasons
- GC isn't stable, slowing people down for a feature they aren't using
- Size tracking was expected to be lazy, only reading sizes when the GC
is configured for size, while this was eager
- Git checkouts are immutable but we check on every load
- This optimized for "while filesystem caches are warm" from a checkout
operation when checkout operations are rare compared to all of the other
commands run on a working directory.
This removes the `du`, relying on the lazy loading that happens in
`update_null_sizes`.
0 commit comments