WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
104310
IndexedDB: put() should index asynchronously
https://bugs.webkit.org/show_bug.cgi?id=104310
Summary
IndexedDB: put() should index asynchronously
Alec Flett
Reported
2012-12-06 15:40:58 PST
As reported on chromium-html5@ - calling put() with lots of indexes can be a serious performance drag, probably partially because the frontend put() has to resolve all the values and send a giant blob of index data to the backend - the value resolution happens synchronously, before the backend even sees it. What we should probably be doing is sending the indexing data to the backend, and generating some kind of separate event in the frontend to generate the index data & send it to the backend using setIndexKeys() This is kind of how createIndex() works, and it would probably have to have the same kind of semantics...
Attachments
Add attachment
proposed patch, testcase, etc.
Sihui Liu
Comment 1
2022-02-01 14:06:20 PST
Not sure I completely understand the description since the bug is very old; but the index records are generated in the backend now, so calling put() should not block the web content process.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug