[Webkit-unassigned] [Bug 194867] New: Use a SQLite database to hold the ResourceLoadStatistics data

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 20 13:05:47 PST 2019


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

            Bug ID: 194867
           Summary: Use a SQLite database to hold the
                    ResourceLoadStatistics data
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: bfulgham at webkit.org

The ResourceLoadStatistics database plist is a silly way to store the data. It requires a lot of stuff to be held in memory, and forces lots of looping and string comparisons to find out information.

This problem has already been solved in a much better way in the form of relational databases. We use them elsewhere in WebKit, and should do so for this storage as well.

This patch creates an optional SQLite database to handle ITP operations.

1. It adds a new internal experimental feature flag to activate it. It requires the user exit and restart the process to take effect.
2. It populates itself from the existing plist file (if it exists).
3. It stops using the plist in favor of the database.
4. It does queries and other operations using the database instead of the old hash table implementation.

-- 
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/20190220/f53ca35d/attachment.html>


More information about the webkit-unassigned mailing list