Before You memo()
React performance tips: two techniques to optimize re-renders before using memo() or useMemo().
React performance tips: two techniques to optimize re-renders before using memo() or useMemo().
A physics analysis of the optimal angle to jump from a swing for maximum distance, contrasting it with simple projectile motion.
Exploring prefetching heuristics for web performance, covering strategies, trade-offs, and implementation considerations.
Explains Neyman allocation for optimal stratified sampling and its exact integer solution, linking it to US Electoral College apportionment.
Explains Python membership testing using 'in' operator vs. for loops, with benchmarks showing performance differences.
A technical tutorial on implementing Thompson Sampling to optimize ad auction decisions by balancing bid values and click-through rates.
Learn how to use Numba's @jit decorator to achieve massive speedups in Python code with minimal changes, demonstrated with a benchmark example.
A series exploring techniques to write faster Python code, covering idiomatic patterns, performance tools, and benchmarking.
A guide explaining how to use React's useMemo Hook to optimize performance by memoizing expensive computations in function components.
An interview discussing Python performance, profiling, optimization, the GIL, and related technical topics.
Explores how prohibiting comparisons on Go struct types can reduce binary size by eliminating equality functions and padding.
Explains the limits of function inlining in Go, including the inlining budget and trade-offs between binary size and performance.
Analysis of how JavaScript frameworks impact website performance, referencing Tim Kadlec's detailed research on the topic.
A software engineer argues that effective performance optimization requires understanding system bottlenecks and applying a scientific, evidence-based approach.
A performance investigation into optimizing JavaScript's spread operator, revealing a Chrome-specific speed boost when placing it at the start of an array literal.
Explains how colocating React state can improve app performance by reducing unnecessary re-renders, with code examples.
A guide to React performance optimization, explaining the difference between the render and commit phases and why focusing on slow renders is key.
Discusses the importance and adoption of the Save-Data HTTP header for reducing web page weight, with real-world usage statistics.
A Rails performance expert shares key lessons on why Rails apps become slow and how to improve them, based on extensive teaching and consulting experience.
A technical guide analyzing and improving serialization performance in Django Rest Framework, with benchmarks and practical solutions.