logoalt Hacker News

prodigycorptoday at 11:16 AM3 repliesview on HN

what's your solution to the performance hit that you get when you load up the dom with a zillion things? long, unvirtualized threads will bring every decent computer to its knees.

the sites could implement their own search to make it all work if they wanted to. they just dont. but blaming virtualization is not tit.


Replies

phyzometoday at 12:57 PM

Using a lighter weight DOM can help. There's always a point where it starts to bog down, but many pages are just unnecessarily heavy because they're relying on so many nested widgets and whatnot.

mschuster91today at 2:14 PM

> what's your solution to the performance hit that you get when you load up the dom with a zillion things?

Browsers can easily render and scroll through entire wads of content.

The problem is, when the "line" comprising an email in the email list of Outlook Web is in a maze of (literally, just looked it up) about 30 divs deep, performance inevitably goes down the drain.

Computers in the 00s could handle inboxes with thousands of emails just fine and scroll through them. Outlook struggles keeping more than 30 in active memory. That's gotta be a joke.

By the way: the solution is rendering tabular stuff in, well, tables instead of armies of divs that try to be tables. That case has been optimized to death because that is how websites and applications used to be built.

charcircuittoday at 12:05 PM

The solution is to improve the browser to remove the performance hit. Modern computers are extremely powerful so there is no good reason why they would not be able to handle a zillion things in the DOM.

show 2 replies