[Webkit-unassigned] [Bug 258808] New: Initialising many a/v players on Safari is done very inefficiently

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 3 07:01:30 PDT 2023


https://bugs.webkit.org/show_bug.cgi?id=258808

            Bug ID: 258808
           Summary: Initialising many a/v players on Safari is done very
                    inefficiently
           Product: WebKit
           Version: Safari 16
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Page Loading
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: hartman.wiki at gmail.com
                CC: beidson at apple.com

This was initially noticed on https://en.wikivoyage.org/wiki/Portuguese_phrasebook with Safari 16.5.1

This page has 440 audio players. Even if we disable all JS for this page, this page is incredibly slow to load in Safari (some 20 or so seconds). When loading the same page in FF or Chrome it loads within 3 seconds (even with JS enabled). I have pinpointed this to the initialisation of the audio players on this page.

Analysing the behaviour, it seems that the page uses 1 single callback to initialise the UI for all the players on the page but does so dynamically based on the available space and it seems to do some sort x ** n measuring.

I've filed this under Page loading instead of media, because of the serious effect on the loading phase.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230703/4cfb3814/attachment.htm>


More information about the webkit-unassigned mailing list