Closed uhppoted closed 2 months ago
Baseline performance with 200 cards:
With basic 'query' cache:
With cached query and query modified:
rollback-all:
rollback-all (with caching):
rollback-all (modified only):
With UI optimizations:
Network call is now the bottleneck.
Slow network call is the consequence of evaluating grules for the 1000+ objects that make up the cards list for 200+ cards.
Caching grules CanView evaluations reduces initial network call to 600ms and subsequent calls to 50ms. Initial load time is now below 2s.
Implemented prefetch on page load to fetch first page of cards:
Initial time to load reduced to ~500ms - closing this as 'good enough for now' and deferring virtual lists to a separate issue (https://github.com/uhppoted/uhppoted-httpd/issues/45).
Ref. https://github.com/uhppoted/uhppoted-httpd/discussions/34#discussioncomment-10423271
With 100+ cards the user interface is sluggish to the point of being unusable: