Optimize textrun initialization, for Editor-TipTap
Categories
(Core :: Layout: Text and Fonts, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox117 | --- | fixed |
People
(Reporter: jfkthame, Assigned: jfkthame)
References
(Blocks 1 open bug)
Details
(Whiteboard: [sp3])
Attachments
(3 files)
+++ This bug was initially created as a clone of Bug #1844464 +++
The patches in bug 1844464 should improve the font-shaping performance in this test. Here, I'm hoping to optimize some of the other parts of textrun construction as well, as I think there are some (minor) gains to be had.
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Updated•2 years ago
|
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D184311
Assignee | ||
Comment 3•2 years ago
|
||
In local (non-PGO) builds, I'm seeing an improvement of around 2-4% on the Editor-TipTap score with these patches.
Assignee | ||
Comment 4•2 years ago
|
||
There's no reason for this to be signed, and the callers are using an unsigned index already.
(Won't make any difference, especially once the optimizer has had a look at it; this is just
a bit of cleanup noticed in passing.)
Comment 6•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/12af03069bf1
https://hg.mozilla.org/mozilla-central/rev/7f0c75c707f8
https://hg.mozilla.org/mozilla-central/rev/6d887cf7ea09
Description
•