Closed Bug 1595767 Opened 5 years ago Closed 4 years ago

Don't use rayon for glyph rasterization unless there is a lot of glyphs to rasterize

Categories

(Core :: Graphics: WebRender, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: nical, Assigned: bpeers)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Dispatching work with rayon has an upfront cost that is not worth paying for just a few glyphs. In addition, if the rayon thread pool is saturated with low priority work we end up blocking frame building for a long time (seconds in the case of bug 1595708).

Blocks: 1494163
Assignee: nobody → bpeers
Status: NEW → ASSIGNED
Pushed by bpeers@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/29584a35d69a
Don't use rayon for glyph rasterization unless there is a lot of glyphs to rasterize r=nical
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: