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)

task

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

Blocks: speedometer3

Please move this bug to the correct component.

Once the Phabricator patch is ready for review, please commandeer it.

Flags: needinfo?(htsai)

Guard single-digit attribute-value atomization at the call site so non-digit values bypass the out-of-line TryAtomizeForSingleDigit helper.

Component: Performance: Automated Findings → DOM: HTML Parser

Henri, I am forwarding this to you.

Flags: needinfo?(htsai)
Type: defect → task
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: