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