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:
parent
0b34b1de7b
commit
d286c56ebb
1 changed files with 2 additions and 0 deletions
|
@ -337,6 +337,8 @@ debug = "full"
|
||||||
[profile.dev.package]
|
[profile.dev.package]
|
||||||
taffy = { opt-level = 3 }
|
taffy = { opt-level = 3 }
|
||||||
cranelift-codegen = { opt-level = 3 }
|
cranelift-codegen = { opt-level = 3 }
|
||||||
|
rustybuzz = { opt-level = 3 }
|
||||||
|
ttf-parser = { opt-level = 3 }
|
||||||
wasmtime-cranelift = { opt-level = 3 }
|
wasmtime-cranelift = { opt-level = 3 }
|
||||||
|
|
||||||
[profile.release]
|
[profile.release]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue