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

Issue 612775 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
ex-Googler
Closed: May 2016
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

openDatabase takes a long time

Project Member Reported by cbruni@chromium.org, May 18 2016

Issue description

Version: >48
OS: linux

What steps will reproduce the problem?
(1) Run the following script:
var t = Date.now(); 
openDatabase('a', 2, '', 1024); 
console.log(Date.now()-t);

What is the expected output?
A small number, Safari runs the same code in <20ms

What do you see instead?
I get a significant 300ms.

We discovered this "anomaly" when measuring cold startup times on http://www.sina.com.cn/ where we spend in total 1.7s through v8, of which 1.3s are callbacks into blink.
Upon further investigation we noted that openDatabase is taking up quite some time.
It seems like on this particular website the DB is not used.
 

Comment 1 by cbruni@chromium.org, May 18 2016

Cc: cbruni@chromium.org

Comment 2 by sh...@chromium.org, May 18 2016

Status: WontFix (was: Untriaged)
WebSQL has been deprecated for almost 6 years.

Sign in to add a comment