[Webkit-unassigned] [Bug 94023] New: IndexedDB: Use ScriptValue instead of SerializedScriptValue when possible
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Aug 14 15:03:09 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=94023
Summary: IndexedDB: Use ScriptValue instead of
SerializedScriptValue when possible
Product: WebKit
Version: 523.x (Safari 3)
Platform: Unspecified
OS/Version: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebCore Misc.
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: jsbell at chromium.org
CC: oliver at apple.com, charles.wei at torchmobile.com.cn,
dgrogan at chromium.org, alecflett at chromium.org
Blocks: 88287
The WebKit IDB implementation uses SerializedScriptValue throughout, which incurs overhead and complexity:
* Converting values to IDBKeys is port specific (e.g. v8/IDBBindingUtilities.cpp's createIDBKeyFromValue)
* When evaluating key paths, SSVs are deserialized in a script context, then the value is groveled over (port-specific)
* When injecting keys into values, SSVs are deserialized, the value is groveled over, then the object is reserialized
Ideally, the values would remain as ScriptValues rather than SerializedScriptValues until they are transmitted over the wire or persisted to storage. In the Chromium port, transmission between processes used to occur almost immediately, but code has moved into the front-end so there is now benefit to retaining the objects "live" for longer.
--
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