Amrik MalhansWeb Performance & Engineering
HomePostsSubscribe
  1. Home
  2. Blog

Blog

Thoughts on web performance and engineering

Avoid using setTimeout(fn, 0) for breaking tasks on main thread

Main Thread — nov 27, 2025

setTimeout(fn, 0) for breaking tasks on main thread is a common pattern in web development, but it has several flaws and could be the cause of bugs and race conditions when your app runs.

Read More

Understanding the Critical Rendering Path

Browser Engineering — aug 20, 2024

Understanding the Critical Rendering Path is crucial to understand how the browser renders your website, what is painting, parsing, and more.

Read More

Newsletter

Subscribe for updates on web performance and engineering

Web Performance & Engineering
HomeBlog