[Webkit-unassigned] [Bug 107608] New: Web Inspector: Opening script panel and opening the CMD+O script open panel is slow for large numbers of files

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jan 22 17:58:37 PST 2013


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

           Summary: Web Inspector: Opening script panel and opening the
                    CMD+O script open panel is slow for large numbers of
                    files
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://jsbin.com/eluqam/1
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: malteubl at google.com
                CC: keishi at webkit.org, pmuellr at yahoo.com,
                    pfeldman at chromium.org, yurys at chromium.org,
                    apavlov at chromium.org, loislo at chromium.org,
                    vsevik at chromium.org,
                    web-inspector-bugs at googlegroups.com


We use //@ sourceURL annotations to load large numbers of JS files via a single HTTP requests during development. If the number of files gets large, opening the script panel and opening files using the file picker dialog becomes relatively slow (3 seconds on my machine).

Example
for (var i = 0; i < 2000; i++) {
   eval('function i' + i + 
       '() { console.log(' + i + ') }\n//@ sourceURL=jsfile://foo.com/' + 
       i + '.js')  
}
http://jsbin.com/eluqam/1

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list