mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-18 18:08:07 +03:00
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
@ -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…
Reference in New Issue
Block a user