IndexedDB performance

前端 未结 4 2030
一生所求
一生所求 2020-12-18 23:38

Can anyone point me to an article on, or preferably provide some experience of performance of IndexedDB (ideally in Chrome) - what is the fetch, insert and update performanc

4条回答
  •  情话喂你
    2020-12-19 00:06

    I recently did some performance comparisons between WebSQL and IndexedDB. Surprisingly, IndexedDB won (which I wasn't expecting).

    http://blog.oharagroup.net/post/16394604653/a-performance-comparison-websql-vs-indexeddb


    Edit: the above URL is down, but available on archive.org: http://web.archive.org/web/20160418233232/http://blog.oharagroup.net/post/16394604653/a-performance-comparison-websql-vs-indexeddb

    In summary:

    WebSQL takes on average between ~750-850ms to complete the query and render the results; and IndexedDB takes on average ~300-350ms to render the exact same results.

提交回复
热议问题