[Rust Frontend] Speed up chat roundtrip tests (#47523)

Signed-off-by: Bugen Zhao <i@bugenzhao.com>
This commit is contained in:
Bugen Zhao
2026-07-03 19:25:06 +01:00
committed by GitHub
parent 3775d5fcab
commit 8651f043b8
2 changed files with 34 additions and 19 deletions
+7
View File
@@ -144,6 +144,13 @@ too_many_arguments = "allow"
[profile.dev]
panic = "abort"
# Speed up cold tokenizer construction in tests.
[profile.dev.package]
fastokens = { opt-level = 3 }
regex-automata = { opt-level = 3 }
serde_json = { opt-level = 3 }
tokenizers = { opt-level = 3 }
[profile.release]
lto = "thin"
panic = "abort"