www.webdeveloper.com
Results 1 to 1 of 1

Thread: Performance: IndexedDB vs WebSQL

  1. #1
    Join Date
    Jan 2008
    Posts
    273

    Performance: IndexedDB vs WebSQL

    Hello

    While I was studying IndexedDB, I materialized my findings in a performance test between IndexeDB and Web SQL. I have added this project to github
    You can checkout a demo here
    To be short, WebSQL seems to be faster when not searching on the primary key. Furthermore, I noticed that IndexedDB needs some time to create its indices. For example, if I insert 100000 records I have to wait a couple of minutes before the lookup on the primary key is fast!

    I still however find the other results suspicious (indexedDB is very slow with (unique) index searches), so if anybody could review the code I would really appreciate it ?! Any suggestions to improve these tests would be appreciated!

    Please note that you have to test IndexedDB in Firefox and WebSQL in Chrome!

    Cheers Luca
    Last edited by jeanluca; 04-06-2012 at 01:54 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles