Closed the-hobbes closed 9 years ago
Testing show that:
API retrieval took: 18.58199998969212 milliseconds. Visit processing took: 22.45500002754852 milliseconds.
I want to avoid having to call buildHistoryItemList() each time the timeslice is changed.
Also, investigate possible performance increases by not creating li nodes for each item and using regex instead, as well as optimizing the code.
Seems to be somewhat improved now. I'm sure we can get better, but I'd like to keep the fact that it updates instantaneously, which would be hard to do if we weren't fetching the entire updated chrome history each time.
Although we now retrieve an accurate amount of items from the history api with the inclusion of the maxResults parameter in the api call, the amount of results we are retrieving is causing performance issues. We need a way to mitigate these issues. Ideas include: