1min snip

Syntax - Tasty Web Development Treats cover image

716: JS Perf Wins & New Node.js Features with Yagiz Nizipli

Syntax - Tasty Web Development Treats

NOTE

What The Fck! 20,000 lines of code when a URL is called

Calling a new URL triggers the execution of 20,000 lines of C++ code each time, leading to a significant performance impact. Running a Node index without files creates new URLs five times and a fetch operation generates five new ones. Importing modules in ESM also adds to the complexity. These seemingly small actions have a cumulative effect on performance, known as the '1000 cuts' phenomenon. The extensive code raises questions about its purpose and necessity in handling URLs, attributed to a group named WEG, the web application bubble.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode