3 ms·
You would think that, but try injecting 5K rows table into html document. My experience in Chrome and modern 4GHz CPU: '6K rows, 300ms to insert into page on p
by rasz 4y ago
You would think that, but try injecting 5K rows table into html document. My experience in Chrome and modern 4GHz CPU:
'6K rows, 300ms to insert into page on paper (console.time(1); console.timeEnd(1)), but in reality browser freezes for 3 seconds (1.8s style, 900ms layout, 300ms update tree). Freezing goes away with position: absolute, but it still takes 3 seconds to show up after .appendChild. I tried replacing Table with Flex divs, even worse speed.'
I imagine I could make Chrome hang for more than 30 seconds with plain old HTML Tables :)