Trees in the browserwoods - Deepstash
Trees in the browserwoods

Trees in the browserwoods

Lighthouse warns us about large DOM sizes because they increase memory usage and can produce expensive style calculations . This can have a significant impact on user experience, especially for users on lower-end devices.

When we work with a tree data structure like the DOM, its depth has a lot to do with how fast operations such as lookups perform on them.

The deeper a tree goes, the more operations it could take to access one of its elements.

5

8 reads

CURATED FROM

IDEAS CURATED BY

traa

Director of Engineering @ Edgio. Love games, tech and people. In this order.

How the DOM tree size is actually affects your page load speed

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates