Open
Bug 2082402
Opened 1 month ago
Updated 29 days ago
Guard single-digit attribute-value atomization at the call site so non-digit values bypass the out-of-line TryAtomizeForSingleDigit helper.
Categories
(Core :: DOM: HTML Parser, task)
Core
DOM: HTML Parser
Tracking
()
UNCONFIRMED
People
(Reporter: perf-ai-bot, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [foofrix:5e0df4f6-e293-4022-9d7b-5a4e7de2b6aa])
Attachments
(1 external file)
Guard single-digit attribute-value atomization at the call site so non-digit values bypass the out-of-line TryAtomizeForSingleDigit helper.
Problem
Every parsed attribute value called TryAtomizeForSingleDigit even though nearly all values were not single ASCII digits, adding avoidable function-call and repeated conditional overhead.
Performance
- Benchmark: speedometer3
- Test: sp3-full
- Component: DOM
- Local Improvement: 1.14%
Validation
| Reporter | ||
Updated•1 month ago
|
Blocks: speedometer3
| Reporter | ||
Comment 1•1 month ago
|
||
Please move this bug to the correct component.
Once the Phabricator patch is ready for review, please commandeer it.
Flags: needinfo?(htsai)
| Reporter | ||
Comment 2•1 month ago
|
||
Guard single-digit attribute-value atomization at the call site so non-digit values bypass the out-of-line TryAtomizeForSingleDigit helper.
Updated•1 month ago
|
Component: Performance: Automated Findings → DOM: HTML Parser
Updated•29 days ago
|
Type: defect → task
You need to log in
before you can comment on or make changes to this bug.
Description
•