Grokking the Modern Frontend System Design Interview
Vote

0% completed

​

Virtualizing Long Lists

Rendering all 4,000 of Basket's products as rows put 24,009 elements in the page, and the first frame after the render took 528 ms. Rendering only the rows the shopper can see, plus a few extra, put 142 elements in the page and took 33 ms. The phone screen showed the same twelve rows in both cases.

Both numbers are medians of five runs in headless Chrome 150 on a desktop with an AMD Ryzen 7 5800X, with the CPU slowed four times to approximate a mid-range phone.

The difference between those two pages, and what the faster one gives up, is the subject here.

.....

.....

.....

Like the course? Get enrolled and start learning!

Reading Progress

0%


Vote for new content