Articles for people who
ship the stack
Rewrites on React, Node.js, TypeScript and AI. A translated body is shown when it exists. If it does not, you see the English text and a note that says so.
Tagged: optimization
Eight React Rendering Fixes That Cut Re-renders 80% Without a Rewrite
Profile first, then apply memo, useMemo, useCallback, transitions, list virtualization, code splitting and narrow selectors to speed up a large React dashboard.
5 min readCut Repeated Prompt Costs by 90% With One Line of Prompt Caching
Turn on automatic prompt caching with a single field, verify hits in the usage block, and avoid the prefix mistakes and minimum-length traps that silently erase savings.
4 min readKV cache is the unseen database eating GPU memory in LLM decode
The KV cache quietly eats GPU memory during LLM inference: prefill vs decode, KV math, GQA and MQA, PagedAttention, quantization and eviction policies.
9 min readSpeculative Decoding, Early Exit and Quantization: Faster LLM Decode
How speculative decoding and early exit cut LLM inference latency, when draft acceptance pays off, and how they stack with quantization and KV cache paging.
8 min readJavaScript performance is about less work, not fewer lines
Performance work is choosing which computations not to run, measuring Core Web Vitals honestly, and fixing the hottest paths instead of shrinking source line counts for their own sake.
12 min read
About these articles
Request a 24h estimate
Need the same stack in a production operator layer? Send the brief — estimate within 24 hours.