Optimize rustybuzz and ttf-parser in Dev (#8873)

This PR improves the `draw()` time from hundreds to about 30ms, so
roughly 10x.
It makes Zed quite usable in Dev profile.

Release Notes:
- N/A
This commit is contained in:
Dzmitry Malyshau 2024-03-05 06:37:28 -08:00 committed by GitHub
parent 0b34b1de7b
commit d286c56ebb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -337,6 +337,8 @@ debug = "full"
[profile.dev.package]
taffy = { opt-level = 3 }
cranelift-codegen = { opt-level = 3 }
rustybuzz = { opt-level = 3 }
ttf-parser = { opt-level = 3 }
wasmtime-cranelift = { opt-level = 3 }
[profile.release]