aboutsummaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authoruser <user@clank>2026-08-13 18:59:59 +0200
committeruser <user@clank>2026-08-13 18:59:59 +0200
commit92ffceaa5a4c39eab113b94272aa3cd13f634dcb (patch)
treebd6e03688acc4461febbe540f0cb1c2a7fd25d3b /cli
parentsl0p: make the split button visible, and clickable where it is drawn (diff)
downloadsl0ppi-92ffceaa5a4c39eab113b94272aa3cd13f634dcb.tar.gz
sl0ppi-92ffceaa5a4c39eab113b94272aa3cd13f634dcb.tar.xz
sl0ppi-92ffceaa5a4c39eab113b94272aa3cd13f634dcb.zip
build: cut the edit loop from 52s to 5s with more codegen units
zellij-server is one enormous crate and `fastdev` was building it in 16 codegen units, which is the granularity the incremental cache can skip work at: a one-line change re-optimised a sixteenth of the crate. Splitting the crates we actually edit into 256 units makes that a sliver instead. Measured on the same one-line change to pane_boundaries_frame.rs, `git checkout` of the file to a linked binary: codegen-units = 16 52s codegen-units = 256 6s, 4s on a second run + opt-level = 1 5s (rejected: not worth a slower binary) Ruled out on the way: linking the 69MB binary is ~2s, and rust-lld did not beat the default linker on it, so the linker was never the problem. Root crate codegen plus link is ~2s of the total. Costs one 80s rebuild when switching profiles, and the fastdev binary keeps opt-level 3. Verified with the full server/utils suites and make check-live.
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions