Tag

#performance

18articles
BasicsNov 8, 2026

What is a dynamic array — and why push sometimes copies everything

A dynamic array in plain words: what capacity is, why push is almost always instant but sometimes copies the entire array, and when you'll actually notice.

6 min read
BasicsNov 2, 2026

What is a Web Worker — and why await doesn't stop your page from freezing

What is a Web Worker in plain words: a second thread for heavy JavaScript, how it talks to the page, why data gets copied, and when you don't need one.

5 min read
BasicsNov 1, 2026

What is Big O notation — and why your code flew on 100 rows and died on 100,000

What Big O notation means in plain words: how to tell how much slower code gets as data grows, and why includes inside a loop is a quiet time bomb.

6 min read
GuidesNov 1, 2026

How to measure how long code takes in JavaScript — and why the first run always lies

How to measure code execution time in JavaScript: step by step with console.time and performance.now, warm-up, median, async code, and why not Date.now.

6 min read
?
BasicsOct 14, 2026

What is a percentile (p50, p95, p99) — and why average response time lies

What a percentile is, in plain words: p50, p95 and p99 in speed metrics. Why average response time fools you, and how to calculate a percentile yourself.

6 min read
?
BasicsOct 14, 2026

What is a cache stampede — and how a cache can take down your database

What a cache stampede is: a hot key expires and hundreds of requests hit the database at once. Why it happens and three ways to prevent it in your app.

6 min read
BasicsSep 18, 2026

What is a variable font — one file instead of eight

What a variable font is: how variation axes replace a dozen files with one, why font-weight 437 exists, and when this actually makes your site faster.

5 min read
GuidesSep 9, 2026

Why my page jumps while loading — 3 causes and how to check

Content shoves itself down and you miss the button. Why a page jumps while loading: three real causes, how to find the culprit and how to fix each one.

5 min read
BasicsSep 9, 2026

What is lazy loading — and why it can make your site slower

Lazy loading defers images until you scroll and saves bandwidth. But one line on the first screen makes your site slower — here's exactly why that happens.

5 min read
BasicsSep 9, 2026

What is code splitting — and why your home page ships code nobody opens

Code splitting cuts one big JavaScript file into parts that load on demand. Here's how it works, where it pays off, and where cutting actually hurts.

5 min read
AI toolsSep 9, 2026

Minification or compression — the difference, and why you need both

Minification and compression aren't alternatives but two different stages. What each one does, why they work better together, and which to turn on first.

5 min read
GuidesSep 9, 2026

How to shrink your JavaScript bundle — 6 steps and the command to start with

Step by step: how to reduce JavaScript bundle size — measure it, find the heaviest package on a build map, split off what's rarely used, then re-measure.

6 min read
BasicsSep 7, 2026

What is WebAssembly — and why it only understands numbers

WebAssembly runs code at near-native speed but knows nothing about strings or buttons. Here's what WebAssembly is and why it needs JavaScript beside it.

5 min read
AI toolsSep 7, 2026

WebAssembly vs JavaScript — what's actually faster, and when

WebAssembly isn't always faster: the line runs through boundary crossings, not languages. Comparing WebAssembly and JavaScript, with a clear verdict.

5 min read
GuidesAug 27, 2026

Why my app drains the battery — 3 causes and how to check each

Your app drains the phone battery: the three real causes — unreleased wake locks, alarms instead of a scheduler, and greedy radio — and how to find each one.

6 min read
GuidesAug 18, 2026

Why your build takes forever — 3 causes you can fix in one evening

Build takes 8 minutes instead of 30 seconds? The three real causes of a slow build, ordered by how often they happen — and how to measure instead of guessing.

5 min read
GuidesJul 30, 2026

Why your database query is slow — and why it was fast on your own data

Why a database query is slow: the three real causes, how to check each in a minute, and how to fix it. Starting with the most common — a missing index.

6 min read
BasicsJun 28, 2026

What Is Caching — Why the Second Time Is Always Faster (and Cheaper)

A cache is a pocket for data you already fetched, so you don't fetch it twice. Here's what caching is, why clearing the cache helps, and how it saves money on AI.

5 min read