> chromenerd.top

Notes on Chromium internals, V8 performance optimizations, and Manifest V3 extensions engineering.

Recent Articles

Optimizing Memory Allocation in V8 for High-Load Browser Extensions

When processing large DOM trees in content scripts, hidden classes and unoptimized object shapes can trigger heavy garbage collection cycles. In this post, we analyze how to write V8-friendly data structures to achieve near-zero rendering latency.

Decomposing Chrome DevTools Protocol (CDP) for Headless Automation

Moving away from standard Puppeteer overhead. A deep dive into establishing direct WebSocket tunnels with Chromium instance via CDP endpoints to bypass memory bottlenecks during parallel page profiling.

The Evolution of Background Service Workers in Manifest V3

Handling ephemeral states without persistent background pages. We cover advanced architectures using IndexedDB and Offscreen Documents API to keep complex extension backends alive under strict browser resource constraints.