Hi,
I have a webworker that does read/write to IndexedDB and perform some searches using elasticlunr.js elasticlunr.com
In chrome
init web worker took 1.930 ms
Populating db… took 21.47 ms
webworker.js:209 Done reading from IndexedDB. took 7851 ms
When perform search
Search took 6.570 ms
In Firefox
init web worker took 0.2400 ms
Populating db… took 4.515 ms
webworker.js:209:3
Done reading from IndexedDB. took 7236 ms
However, when perform the same search
Search took 3482 ms
Any reason why it’s taking so much longer to perform the same search?