--To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msg/chromium-html5/-/z3oLXc7tUDsJ.
You received this message because you are subscribed to the Google Groups "Chromium HTML5" group.
To post to this group, send email to chromiu...@chromium.org.
To unsubscribe from this group, send email to chromium-html...@chromium.org.
For more options, visit this group at http://groups.google.com/a/chromium.org/group/chromium-html5/?hl=en.
Hi!I have run your js, but what I see is you have large loop on put method, which is async. As a rule, you don't loop async call, because none of them are invoked before finishing the loop. I think it will get problem for large scale.Perhaps, you could open database outside of PopulateOneStore.
On Wednesday, November 14, 2012 7:25:17 AM UTC+8, Deni Spasovski wrote:
Hi Joshua,
Here is the procedure that I use for filtering the items, please run the test and let me know if there is a part which can be further optimized.
As you might notice i have a caching functionality which uses the advance function from indexed db and i skip the long lasting iteration process by storing the number of iterated items when once iterated.
As for the data i have 100K items with 200 properties each.
If you need additional details please contact me back.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msg/chromium-html5/-/QmVFJSuCxjgJ.
On Tue, Dec 4, 2012 at 6:45 AM, Kyaw <kya...@yathit.com> wrote:
Hi!I have run your js, but what I see is you have large loop on put method, which is async. As a rule, you don't loop async call, because none of them are invoked before finishing the loop. I think it will get problem for large scale.
Perhaps, you could open database outside of PopulateOneStore.
Hi Joshua and Kyaw,
I uploaded the whole example so that it would be easier for you to debug it.
I was only interested in profiling results of method "objectSearch". I use this procedure for populating data grid with dynamic paging and searching. So making it parallel is not possible. The search test search queries i've provided are the typical test cases for which the method is invoked.
So far with the advance function i've gained a lot of performance on consecutive searches, however i think there is still place for further optimizations, could you take another look at the search method.
Thanks,
Deni