Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,14 @@ agentd-client = { path = "crates/client" }
lto = "thin"
codegen-units = 1
strip = "symbols"

# Optimize dependencies even in dev builds. The TUI's per-byte hot
# path (PTY OSC/ANSI state machine + the `vt100` shadow parser) lives
# largely in dependency code, and at `opt-level = 0` those un-inlined
# per-byte loops are ~10x slower — enough that a debug build saturates
# the single-threaded feed+render loop under multi-session load while
# release stays snappy. `package."*"` applies only to dependencies,
# not workspace members, so our own crates keep compiling unoptimized
# (fast incremental rebuilds, full debuggability).
[profile.dev.package."*"]
opt-level = 3
Loading