Open Bug 1579513 Opened 6 years ago Updated 2 years ago

Drawing text in Canvas 2D is slow

Categories

(Core :: Graphics: Canvas2D, enhancement)

69 Branch
enhancement

Tracking

()

UNCONFIRMED

People

(Reporter: mofojed, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/76.0.3809.132 Safari/537.36

Steps to reproduce:

Measure the performance of drawing text (fillText and strokeText functions) in Firefox vs. Chrome using this page: https://jsperf.com/canvas-text-performance

I found a 10 year old bug: https://bugzilla.mozilla.org/show_bug.cgi?id=527386
But maybe things have changed enough we could use a new one.

Actual results:

Firefox performs about 50% as well as Chrome

Expected results:

Firefox performance should be comparable to Chrome

See Also: → 527386
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.