Sorry for the lag; I finally got a chance to try this…
In my profile I see a huge amount of time being spent by console runnables due to a console.log() call from a worker that sends in what looks like a large object. What do the times look like if you don’t console.log() the search result?
init web worker took 0.1700 ms
Populating db… took 7.200 ms
Done reading from IndexedDB. took 1944 ms
process took 36.99 ms
Worker said:
Search took 14.73 ms
compare to Chrome
init web worker took 0.7750 ms
Populating db… took 12.00 ms
Done reading from IndexedDB. took 1344 ms
Search took 13.95 ms
process took 38.74 ms
Worker said: