Repository navigation
Improve Zed's startup time - #65170
Merged
Merged
Conversation
Read the real UID with getuid() instead of enumerating processes. Keep the channel offsets, UID wrapping, and handshake unchanged. Measurements (warm macOS launches): - Time to presentation: median 525 ms -> 479 ms over 30 paired launches (release-fast).
Skip redundant settings recomputation, migration formatting, and colour-scale construction. Request a redraw of hidden macOS windows before revealing them. Measurements (warm macOS launches): - Startup work, time to selected presentation: paired median reductions of 7.5 ms and 10.7 ms in two runs of 30 pairs. - Window reveal, time to first captured text: paired median reduction of 18.4 ms over 30 pairs.
Anthony-Eid
reviewed
Oct 5, 2026
Anthony-Eid
approved these changes
Oct 5, 2026
SomeoneToIgnore
enabled auto-merge
October 5, 2026 20:17
Artur-Galstyan
pushed a commit
to Artur-Galstyan/hzed
that referenced
this pull request
Oct 5, 2026
…es#65206) This PR makes Cargo happy, which keeps wanting to remove the redundant nix version qualifier from Cargo.lock introduced in zed-industries#65170. Release Notes: - N/A
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
First commit:
Avoid process enumeration during macOS startup
Read the real UID with getuid() instead of enumerating processes.
Keep the channel offsets, UID wrapping, and handshake unchanged.
Measurements (warm macOS launches):
Second commit:
Reduce startup work and redraw before window reveal
Skip redundant settings recomputation, migration formatting, and colour-scale construction.
Request a redraw of hidden macOS windows before revealing them.
Measurements (warm macOS launches):
Release Notes: