Accelerate text node and attribute value serialization using SIMD
Categories
(Core :: DOM: Core & HTML, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox146 | --- | fixed |
People
(Reporter: hsivonen, Assigned: hsivonen)
References
Details
(Keywords: perf)
Attachments
(1 file)
Updated•6 years ago
|
Updated•3 years ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
The code added in bug 1499682 has the right shape for this.
| Assignee | ||
Comment 2•2 months ago
|
||
| Assignee | ||
Comment 3•2 months ago
|
||
| Assignee | ||
Comment 4•2 months ago
|
||
Days since char being signed caused a bug: 0
Let's try again:
https://treeherder.mozilla.org/jobs?repo=try&landoCommitID=162307
| Assignee | ||
Comment 5•2 months ago
|
||
| Assignee | ||
Comment 6•2 months ago
|
||
| Assignee | ||
Comment 7•2 months ago
|
||
On Skylake, I see a 23% reduction in execution time for attribute value or text node that does not need any escapes and a 41% reduction in execution time for an attribute value or text node that needs one escape.
Updated•2 months ago
|
| Assignee | ||
Comment 8•2 months ago
|
||
NOTE TO SHERIFF: This landing may change the exact error message for x86 Windows noopt linking failure that's bug 1998532. I'll fix that in bug 1998532.
| Assignee | ||
Comment 10•2 months ago
|
||
M3 Pro
Attribute value or Unicode text node without escape: 13% reduction
Latin1 text node without escape: 24% reduction
Attribute value with single escape: 59% reduction
Text node with single escape: 63% reduction
Might be worthwhile to complicate the counting loop on aarch64 by reducing on every 15th iteration (to avoid overflow) instead of reducing on every iteration.
| Assignee | ||
Comment 11•2 months ago
|
||
(In reply to Henri Sivonen (:hsivonen) from comment #10)
Might be worthwhile to complicate the counting loop on aarch64 by reducing on every 15th iteration (to avoid overflow) instead of reducing on every iteration.
Comment 12•2 months ago
|
||
| bugherder | ||
Updated•2 months ago
|
Description
•