New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 612197 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Nov 2016
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 3
Type: Bug



Sign in to add a comment

DevTools: Application Panel - IndexedDB view unusable with large data store.

Project Member Reported by jonathan.garbee@chromium.org, May 16 2016

Issue description

Version: 52.0.2735.0
OS: Ubuntu 16.04 64bit

What steps will reproduce the problem?
1. Run the attached HTML file, either from localhost or directly as file://.
2. Wait for the output below to show "Finished"
3. Once that is done, open up the DevTools
4. Go to the Application Panel
5. Under the IndexedDB display find the "Test" database and "Items" store.
6. Try to see the stored data and switch between pages.

What is the expected output?

To be able to see the data quickly and switch between pages and filter data.

What do you see instead?

Empty details for quite a while. They may eventually come through or sometimes fail out.

Also "Start from key" say 900 doesn't work at all.

 
index.html
2.0 KB View Download
Owner: pfeldman@chromium.org
Status: Assigned (was: Untriaged)
Owner: dgozman@chromium.org
Owner: allada@chromium.org

Comment 4 by jsb...@chromium.org, Nov 29 2016

Status: WontFix (was: Assigned)
I don't think the script is behaving as you expect. 

The script queues up 10000 requests to open a new connection, start a transaction, and write a single record. It does so in a promise, and resolves the promise synchronously after the requests are mode but before any have completed.

In your sample, change:

tx.complete;

to:

tx.complete.then(() => console.log('complete: ' + i));

This "one connection and one transaction per record" approach is incredibly slow takes ~30 seconds on my machine. Once it's actually complete, if I switch to the Application tab the records are available immediately.

Sign in to add a comment