In testing, @sglangevin has been experiencing major application performance problems with a newly-replicated set of documents from a high-performing CHP (total database size: 3430 documents). Operations that fetch data were taking on the order of 10-15 seconds, leading to lags in the UI and general un-usability.
In analysis, we noticed that allDocs was outperforming query for this IndexedDB database, which led us to a major performance problem in PouchDB's cacheUpdateRequired (part of a changeset that is now reverted).
Tasks:
v2.8.x branch for immediate testing2.7.x series, or decide it's unnecessary (e.g. we're confident CHPs won't hit the problem, or LG is being upgraded directly to 2.8.0)My understanding is everyone on 2.7.x will get on to 2.8.x soon so the backport to 2.7.x shouldn't be necessary.
Performance increase confirmed.
v2.7.2:

v2.8.0-b6:

This was AT'ed already. Moving to ready.
Most helpful comment
Performance increase confirmed.
v2.7.2:

v2.8.0-b6:
