WICG / virtual-scroller

Other
2k stars 83 forks source link

Exploratory findings from sticky.html demo #184

Closed chrishtr closed 5 years ago

chrishtr commented 5 years ago

@vmpstr and I did some investigation together today on the sticky demo. Our findings:

  1. With the "divs" version, changing to and from the compact mode was about 120ms on my beefy Linux box. With virtual-scrollers, it was about 20ms. Better, but still not so great. We suspect that this may be slowed down by needing to do self-rendering (style, layout, etc) on all of the locked roots.

Next up would be to compare against a version that has display:none rather than lock for things offscreen to compare.

domenic commented 5 years ago

This seems like it'd be best on the Chromium repo, as it won't impact the spec or demo? (I already find it a bit troublesome to do the demo development in the explainer/spec repo, but ah well.)

fergald commented 5 years ago

I think it is very active (as it is now) it's weird. Maybe best to split of the repos?

On Sat, 31 Aug 2019, 11:35 Domenic Denicola, notifications@github.com wrote:

This seems like it'd be best on the Chromium repo, as it won't impact the spec or demo? (I already find it a bit troublesome to do the demo development in the explainer/spec repo, but ah well.)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/WICG/virtual-scroller/issues/184?email_source=notifications&email_token=ABAO5ZYRD7PEBZH3ICZAIRDQHHKGDA5CNFSM4ISRYFAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5TDQ3Q#issuecomment-526792814, or mute the thread https://github.com/notifications/unsubscribe-auth/ABAO5Z3LYMSHDVWBFR4WXATQHHKGDANCNFSM4ISRYFAA .

domenic commented 5 years ago

Let's close this and reopen in fergald/virtual-scroller-demos or the Chromium bug tracker as necessary.