Closed
Bug 1385159
Opened 7 years ago
Closed 7 years ago
Use autoarryay to prevent buffer allocation in DrawTargetSkia::DrawGlyphs
Categories
(Core :: Web Painting, defect)
Core
Web Painting
Tracking
()
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: u459114, Assigned: u459114)
References
Details
Attachments
(2 files, 1 obsolete file)
While profing https://immersion.media.mit.edu/demo In DrawTargetSkia::DrawGlyphs vector::append spends 4.0ms + 7.0ms arena_dalloc spends 4.0ms
Summary: Use autoarryay to prevent buffer allocation in → Use autoarryay to prevent buffer allocation in DrawTargetSkia::DrawGlyphs
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Attachment #8891247 -
Attachment is obsolete: true
Attachment #8891246 -
Flags: review?(matt.woodrow)
Comment 4•7 years ago
|
||
mozreview-review |
Comment on attachment 8891246 [details] Bug 1385159 - Use array on the stack to prevent buffer allocation in DrawTargetSkia::DrawGlyphs. https://reviewboard.mozilla.org/r/162448/#review168150 This seems like a lot of stack space to consume. Do we have any data on how long strings normally are? Could we go shorter than 512 and still get most of the benefits? I'd prefer if we could try minimize this, to reduce the chances of overflowing the stack.
Attachment #8891246 -
Flags: review?(matt.woodrow) → review+
Comment on attachment 8891246 [details] Bug 1385159 - Use array on the stack to prevent buffer allocation in DrawTargetSkia::DrawGlyphs. https://reviewboard.mozilla.org/r/162448/#review168150 Mostly, < 64. Sometimes, between 64 and 128. > 128 is rare.
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Pushed by cku@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0d32624a93df Use array on the stack to prevent buffer allocation in DrawTargetSkia::DrawGlyphs. r=mattwoodrow
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/0d32624a93df
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
Updated•2 years ago
|
Performance Impact: --- → ?
Whiteboard: [qf]
You need to log in
before you can comment on or make changes to this bug.
Description
•