[Webkit-unassigned] [Bug 165215] New: IndexedDB: When doing puts, don't do deletes if there are no indexes

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 30 12:55:50 PST 2016


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

            Bug ID: 165215
           Summary: IndexedDB: When doing puts, don't do deletes if there
                    are no indexes
    Classification: Unclassified
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: beidson at apple.com

IndexedDB: When doing puts, don't do deletes if there are no indexes

It's important to "delete before put" to make sure indexes are in a consistent state.

But if an object store has no indexes, we shouldn't bother doing the deletes first.

This saves between 1% and 2% on a tight-insert loop.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161130/42077a40/attachment.html>


More information about the webkit-unassigned mailing list