Tag: performance
WebAssembly (Wasm)
A binary instruction format that runs at near-native speed in the browser and on servers — enabling C, Rust, and Go code to run alongside JavaScript without plugins.
2mo ago
frontend advanced
WeakRef & FinalizationRegistry
ES2021
WeakRef holds a weak reference allowing GC to collect the object — used for memory-safe caches. FinalizationRegistry runs a callback when an object is collected.
3mo ago
javascript advanced
Web Font Loading Strategy
CSS3
Controlling how custom fonts load to avoid FOIT (invisible text), FOUT (flash of unstyled text), and layout shift — using font-display, preloading, and system font stacks.
3mo ago
frontend intermediate
Worker Pool Patterns
PHP 5.0+
Fixed pool of pre-spawned workers for parallel tasks — avoiding per-task process spawn overhead.
3mo ago
performance advanced
Weak References (WeakReference, WeakMap)
PHP 7.4+
References to objects that don't prevent garbage collection — useful for caches and observer registries that shouldn't extend object lifetimes.
3mo ago
php advanced
Web Workers
ES2015
Background threads in the browser that run JavaScript without blocking the main thread — essential for CPU-intensive tasks that would otherwise freeze the UI.
3mo ago
javascript advanced