zed/.github
Kirill Bulatov 21f16f7b5b
Speed up cargo build -p zed compilation (#62059)
Splits the crate graph.
Before, the compilation graph: `editor → picker_preview → search →
project_panel → open_path_prompt → recent_projects → title_bar →
collab_ui → zed`
After, the compilation graph: `editor → picker_preview → search →
agent_ui → sidebar → zed`

With sccache disabled and project fully built, `touch
crates/editor/src/editor.rs` and `cargo build -p zed` took time
Before (5e1fd392f6): 13.19s
After: 11.85s (-10.2% speed up)

Each commit contains a separate compilation instructions, and a test in
the final commit.
The main approach is to split coupled crates and replace them with
`zed_actions` and move some shared functionality into `git_ui_core` new,
shared module.

I've also tried to add a test to prevent common pitfalls, but not sure
I'm happy with the end result — can remove it if it looks too synthetic.

Release Notes:

- N/A
2026-08-01 19:42:37 +00:00
..
actions ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
DISCUSSION_TEMPLATE docs: Improve feature process (#51425) 2026-03-13 00:36:21 +03:00
ISSUE_TEMPLATE Update feature request link (#55258) 2026-04-30 13:49:56 +00:00
workflows Speed up cargo build -p zed compilation (#62059) 2026-08-01 19:42:37 +00:00
actionlint.yml Reapply "Try namespace mac runners (#47675)" (#47721) (#47727) 2026-01-26 22:02:52 -07:00
CODEOWNERS.hold Remove more storybook leftovers (#60337) 2026-07-03 08:27:48 +00:00
FUNDING.yml Add sponsor button to main Zed repo (#46807) 2026-01-14 10:38:51 -06:00
pull_request_template.md Update Pull Request template (#59062) 2026-06-12 00:46:42 +00:00
zizmor.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00