[Webkit-unassigned] [Bug 271610] New: Web Inspector: Generating JS builtins for createInspectorInjectedScript is very slow

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Mar 24 16:15:10 PDT 2024


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

            Bug ID: 271610
           Summary: Web Inspector: Generating JS builtins for
                    createInspectorInjectedScript is very slow
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: philn at igalia.com
                CC: inspector-bugzilla-changes at group.apple.com

Takes 30 to 40 seconds and blocks the build... That function nests so many other functions, BuiltinsCollection._parse_functions() is the bottleneck, using various regular expressions, looking for patterns on the whole file every time.

Would it be possible to move some of these nested functions out? Was there a specific reason for the current design?

-- 
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/20240324/f86f8d52/attachment.htm>


More information about the webkit-unassigned mailing list