development builds are very slow #39401
Unanswered
Be-ing
asked this question in
Help and General Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Building Zed with the
dev
profile produces an executable that's annoyingly slow to use (as in, keystrokes don't register for seconds) on my Intel Core i7 8550U. I have experimented with Cargo's build options and the minimum settings to make a build that doesn't run super slow areopt-level = 1
andlto = "thin"
.opt-level = 3
without LTO is still slow. Howeverlto = "thin"
makes the build time ridiculously long; it takes my machine 20 minutes to rebuild just the top level zed crate.Does anyone have tips how to manage this other than faster hardware? The best I have come up with is do one release build and primarily use that, but only use dev builds for testing the changes I'm working on.
Beta Was this translation helpful? Give feedback.
All reactions