[Webkit-unassigned] [Bug 65306] New: WebKitInitializeStorageIfNecessary() can take awhile performing i/o, isn't necessary for every WebView

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 28 00:34:05 PDT 2011


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

           Summary: WebKitInitializeStorageIfNecessary() can take awhile
                    performing i/o, isn't necessary for every WebView
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: beidson at apple.com


WebKitInitializeStorageIfNecessary() can take awhile performing i/o, isn't necessary for every WebView

Right now we blindly call WebKitInitializeStorageIfNecessary the moment the first WebView is created.  Since it can do some (sync) i/o, this can be a waste of time if storage tracking will never be needed (APIs aren't called, or LocalStorage is never used).

There's room to make it better by making it asynchronously initialize on a background thread, but in the meantime let's defer it until it's actually needed.

In radar as <rdar://problem/9714337>

-- 
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