rust: optimise the app crate in dev builds (terminal parser); throughput test

This commit is contained in:
Andy Dixon
2026-10-11 17:14:11 +01:00
parent 0f4a906914
commit b1e18a8ffb
2 changed files with 26 additions and 0 deletions
+4
View File
@@ -9,5 +9,9 @@ edition = "2024"
[profile.dev.package."*"]
opt-level = 2
# The terminal parser is generic and gets instantiated in the app crate; unoptimised it is ~50x slower.
[profile.dev.package.nexus]
opt-level = 2
[profile.release]
lto = "thin"