Optimize tiny-skia, rustybuzz, tty-parser in dev builds
Cosmic-comp seems to spend a lot of CPU time here, particularly in debug builds. The Iced tiny-skia render probably could use some optimization, but it's expected that software rendering without optimization will perform quite poorly. Optimizing just these crates doesn't seem to add measurably to build time but does help noticeably.
This commit is contained in:
parent
39ebf39e4f
commit
f53e5a971d
1 changed files with 9 additions and 0 deletions
|
|
@ -100,6 +100,15 @@ profile-with-tracy = ["profiling/profile-with-tracy"]
|
|||
[profile.dev]
|
||||
lto = "thin"
|
||||
|
||||
[profile.dev.package.tiny-skia]
|
||||
opt-level = 2
|
||||
|
||||
[profile.dev.package.rustybuzz]
|
||||
opt-level = 2
|
||||
|
||||
[profile.dev.package.ttf-parser]
|
||||
opt-level = 2
|
||||
|
||||
[profile.fastdebug]
|
||||
debug = true
|
||||
inherits = "release"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue