How to Find, Debug and Fix N+1 Queries in Rails
Techniques to identify, debug, and fix N+1 queries in Rails apps using tools like FactoryBot and rack-mini-profiler.
Techniques to identify, debug, and fix N+1 queries in Rails apps using tools like FactoryBot and rack-mini-profiler.
Explores Java performance optimization phases like compilation, linking, and runtime, focusing on how computation shifts to improve speed and efficiency.
Brendan Gregg's SREcon22 APAC keynote on the future of computing performance, covering new developments and predictions.
Compares performance of C# collection types like List<T>, ReadOnlyCollection<T>, ImmutableArray<T>, and ImmutableList<T> in iteration benchmarks.
Analyzes a performance quirk in C#'s JsonSerializer when creating new JsonSerializerOptions instances, showing significant memory and speed penalties.
Explains Python dictionary comprehension, compares its performance with for loops and dict() function, and provides benchmark results.
A developer profiles and optimizes a Python interpreter for a custom language, focusing on performance bottlenecks and benchmarking against a naive Fibonacci program.
Introduces PerfCollectProfiler, a BenchmarkDotNet plugin for profiling .NET applications on Linux and exporting trace data for performance analysis.
A web developer shares insights on leveraging modern browser capabilities to reduce manual work, based on a conference talk about efficient front-end development.
Analyzing Java BlockingQueue performance issues using JDK Flight Recorder and custom events to detect blocked producer threads.
Analyzing Java BlockingQueue performance issues using JDK Flight Recorder and custom events to detect blocked producer threads.
Introduces a .NET tips and tricks website and a high-performance ValueStringBuilder project, showcasing low-allocation string building techniques.
Explains the pitfalls of comparing ReadOnlySpan<char> objects in C#/.NET, highlighting differences from string comparison due to memory representation.
Guide to monitoring and fixing PostgreSQL database locks in Rails apps, covering lock basics, detection, and prevention.
Discusses the importance of holding managers accountable in tech companies, focusing on metrics like attrition, team performance, and using tools for feedback.
Explains how to delete a database record in Entity Framework without loading it first, covering both classic and .NET 7+ methods.
Compares performance of dict() vs {} for creating dictionaries in Python, showing {} is significantly faster due to bytecode differences.
A former Twitter web app developer shares technical lessons and modern framework choices for rebuilding a social media platform like Twitter or Mastodon.
Explores new code analyzers coming in .NET 8, focusing on performance improvements like case-insensitive string comparisons.
Explains the new FrozenSet and FrozenDictionary collections in .NET 8, detailing their performance benefits and differences from read-only and immutable collections.