Closed Bug 2082404 Opened 1 month ago Closed 7 days ago

Skip empty blocked-script-runner drains and truncate the processed suffix instead of using general array removal.

Categories

(Core :: Performance: Automated Findings, defect)

defect

Tracking

()

RESOLVED FIXED
162 Branch
Tracking Status
firefox162 --- fixed

People

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

References

(Blocks 1 open bug)

Details

(Whiteboard: [foofrix:94bc6fac-2390-4c3d-a24d-7329927da1c0])

Attachments

(1 external file, 1 obsolete file)

Skip empty blocked-script-runner drains and truncate the processed suffix instead of using general array removal.

Problem

RemoveScriptBlocker repeatedly performed unnecessary zero-length removal and used RemoveElementsAt for a known drained suffix.

Performance

  • Benchmark: speedometer3
  • Test: sp3-full
  • Component: DOM
  • Local Improvement: 0.88%

Validation

Blocks: speedometer3

Please move this bug to the correct component.

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

Flags: needinfo?(sfarre)
Assignee: nobody → sfarre
Flags: needinfo?(sfarre)

Skip empty blocked-script-runner drains and truncate the processed suffix instead of using general array removal.

Truncate to known length when a slice of processed script blockers have been processed.

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: -- → S3
Flags: needinfo?(fdoty)
Attachment #9661425 - Attachment description: WIP: Bug 2082404 - Skip empty blocked-script-runner drains → Bug 2082404 - Skip empty blocked-script-runner drains r=#dom-core!
Attachment #9661297 - Attachment is obsolete: true
Status: UNCONFIRMED → RESOLVED
Closed: 7 days ago
Resolution: --- → FIXED
Target Milestone: --- → 162 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: