Closed
Bug 1342720
Opened 7 years ago
Closed 7 years ago
Optimize away the cost of creating and destroying nsBidi from CanvasRenderingContext2D::DrawOrMeasureText()
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla54
Tracking | Status | |
---|---|---|
firefox54 | --- | fixed |
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
The ICU implementation of ~nsBidi is particularly expensive because it calls free() several times.
Assignee | ||
Comment 1•7 years ago
|
||
Attachment #8841286 -
Flags: review?(amarchesini)
Updated•7 years ago
|
Attachment #8841286 -
Flags: review?(amarchesini) → review+
Pushed by eakhgari@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/a1d03f028cb1 Optimize away the cost of creating and destroying nsBidi from CanvasRenderingContext2D::DrawOrMeasureText(); r=baku
Comment 3•7 years ago
|
||
Nice! I'd been seeing this in profiles, but thought it was there for a reason...
Comment 4•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/a1d03f028cb1
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox54:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla54
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•