Open Bug 2082403 Opened 1 month ago Updated 19 days ago

Skip retargeted touch-target checks during event dispatch for non-touch events.

Categories

(Core :: Performance: Automated Findings, defect)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: perf-ai-bot, Assigned: smaug)

References

(Blocks 1 open bug)

Details

(Whiteboard: [foofrix:09bc1d7d-5cff-4ab9-a640-7f3be7dd0d75])

Attachments

(1 external file)

Skip retargeted touch-target checks during event dispatch for non-touch events.

Problem

Speedometer 3 spends measurable time walking DOM event target chains and calling HasRetargetTouchTargets() even for non-touch events, where touch retargeting cannot apply. Guarding those checks with the existing touchEvent pointer avoids repeated Maybe checks on the common non-touch dispatch path without changing touch-event behavior.

Performance

  • Benchmark: speedometer3
  • Component: DOM
  • Local Improvement: 1.75%

Validation

Blocks: speedometer3

Please move this bug to the correct component.

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

Assignee: nobody → smaug

Skip retargeted touch-target checks during event dispatch for non-touch events.

The severity field is not set for this bug.
:fdoty, could you have a look please?

For more information, please visit BugBot documentation.

Flags: needinfo?(fdoty)
Severity: -- → S2
Flags: needinfo?(fdoty)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: