Skip to content
ALI
WritingLabsVideosNowAbout
Menu
WritingLabsVideosNowAboutSearch

Topic

JavaScript

4 entries connected by this thread.

Essay · 1 min read · Aug 14, 2026

Tasks, Microtasks, and the Rendering Gap

A small ordering rule explains why a resolved promise can still postpone painting and user input.

↗
JavaScriptBrowser

Video · 12:18 · Aug 9, 2026

Profiling a Slow Interaction

A recorded debugging session that follows one delayed click from an input event to the long task responsible for it.

↗
BrowserPerformanceJavaScript

Essay · 2 min read · Aug 8, 2026

What "Non-Blocking JavaScript" Actually Means

JavaScript can start asynchronous work without making the single main thread magically perform two tasks at once.

↗
JavaScriptBrowserPerformance

Essay · 2 min read · Jul 24, 2026

The Main Thread Is a Queueing Problem

A practical model for understanding why browser work feels instant until one task holds the main thread for too long.

↗
JavaScriptBrowserPerformance
Ali Safarpour

Notes from the workbench, published when they are useful.

JournalWritingLabsVideosRSS
ElsewhereGitHubLinkedInYouTube
© 2026Built with Astro + Svelte