profiling

Profiling is the practice of making software performance visible, and the stories in this section show how deeply it now cuts across the stack. Open-source profilers like gProfiler scale to internet-sized fleets at Pinterest and Intel, while Python 3.15 introduces a new profiler that catches bottlenecks cProfile misses. At Monzo, continuous profiling helps engineers ship hundreds of times daily without breaking trust. Google's XProf now offers cycle-level detail for TPU kernels, and a free code-first series walks through profiling every step of a GPU kernel, from naive GEMM to FlashAttention. The section also covers the real-world consequences of ignoring profiling: a point-tracking model slows 170x on a T4 versus an A100, and a deep look at looped transformers reveals that shared weights don't automatically stay on chip between iterations. Whether you're optimizing a single kernel or a global fleet, profiling is where performance work starts.

Open-source profiling scales across the internet with Pinterest and Intel
InfoQ

Open-source profiling scales across the internet with Pinterest and Intel

Pinterest and Intel are bringing open-source profiling to internet-scale infrastructure, and that is a big deal for anyone who manages production systems. gProfiler, a continuous profiler already used by many, now gains the horsepower to provide performance visibility across massive fleets. This partnership makes it easier to discover where your code actually slows down. If you are wrestling with complexity in your own stack, explore what this collaboration unlocks.

Looped transformers share weights but memory limits keep them from staying on chip
Machine Learning

Looped transformers share weights but memory limits keep them from staying on chip

Shared weights sound like a free lunch, but memory bandwidth has other plans. A chain of eight matmuls with one 72 MiB weight ran 24% faster than eight identical copies, reading almost nothing from HBM. Scale that weight to 288 MiB, larger than L2 cache, and the advantage vanishes. Eight iterations of a full Huginn Core took eight times as long and read eight times the data. Sharing saves storage, but the GPU still fetches those weights from HBM every single time.

Towards Data Science

Explore How Python 3.15's New Profiler Uncovers Hidden Bottlenecks

Python 3.15's new profiler doesn't just show you what's slow, it reveals why. Unlike cProfile, which skims surface-level call counts, this tool dives deeper to expose hidden bottlenecks in memory and execution flow that traditional profilers miss. For analysts already tackling messy data, our guide on building smarter curves without noise complements this performance insight perfectly. Whether optimizing code or cleaning datasets, the path to faster, cleaner work starts with seeing what's actually happening under the hood.

How Monzo ships hundreds of times daily without breaking trust
InfoQ

How Monzo ships hundreds of times daily without breaking trust

Shipping hundreds of times a day without breaking trust sounds impossible. Monzo proves it isn't. Suhail Patel explains how opinionated microservice abstractions, tenancy-based staging, and continuous profiling let engineers, and even LLMs, iterate at speed while keeping reliability front and center. This is what happens when a strong internal platform empowers rapid, safe delivery. For another look at how companies rethink operations, see our coverage of Airbnb's shifting guest chores policy.

Machine Learning

From naive GEMM to FlashAttention: a free code-first GPU kernel series

Most GPU kernel tutorials treat optimization as a black art. This series opens it up. The insight that performance is a data-movement problem first, compute second, reframes everything. Building FlashAttention from scratch, where tiling avoids writing the full attention matrix to memory, is a perfect worked example. The 44-session roadmap covers GEMM through Hopper architecture, with live profiling at every step. If you write production kernels, this is the kind of resource worth contributing feedback to.

Machine Learning

A free guide to making ML models faster, from silicon to agents

Performance engineering isn't just about reducing FLOPs. Usamah Zakir spent months writing the guide he wished he'd had when starting out: *How to Make Your Model Fast*. It moves from silicon to agents, using roofline analysis to help you diagnose whether you're compute, bandwidth, or memory bound before optimizing. That systems-first thinking is rare and valuable. The whole thing is free and open source. If you're working on inference or edge AI, it's worth exploring.

Unlock Deeper TPU Insights: Cycle-Level Profiling Now Available in XProf
InfoQ

Unlock Deeper TPU Insights: Cycle-Level Profiling Now Available in XProf

For developers wrestling with TPU workloads, opaque blocks in trace captures have long been a frustration. Google's addition of a Kernel Profiling suite to XProf changes that. This open-source profiler now exposes cycle-level details for custom Pallas kernels, turning what was once a black box into a map of precise execution paths. It's a practical step toward finer-tuned performance work. Claudio Masolo's report is worth your attention, especially if you're already exploring how AI tools reshape developer workflows.

When AI ships faster, performance demands smarter systems.
InfoQ

When AI ships faster, performance demands smarter systems.

Shipping code faster creates a different kind of bottleneck. Martin Spier's talk on keeping ChatGPT fast reveals a truth many overlook: agentic workflows multiply change volume, and that pressure lands squarely on performance. It's not just about GPUs. The hidden costs of rapid deployment demand constant vigilance. Spier's approach, using always-on AI agents to automate profiling and regression detection, is a practical answer to a systemic problem. It's a smart, grounded strategy.

Explore How Android Studio Quail 2 Empowers Parallel AI Conversations
InfoQ

Explore How Android Studio Quail 2 Empowers Parallel AI Conversations

Android Studio's Quail 2 release is stable now, and it brings a meaningful upgrade: parallel AI conversations inside the IDE. That's a practical step toward making Gemini feel like a true coding partner rather than a one-off assistant. The enhanced debugging and profiling tools also deserve attention, as they target real workflow friction. If you're curious about the human side of AI interactions, our piece "Talking to My AI Clone Taught Me to Question the Tech" offers a thoughtful counterpoint worth exploring.

Machine Learning

Why Your AI Model Slows 170x on a T4 vs A100

A 170x slowdown between a T4 and an A100 is not a generational gap; it's a signal that something structural is off. For a point-tracking model with dense 4D correlation volumes and transformer layers in pure FP32, you're likely hitting the T4's lack of Tensor Core support for your exact ops, forcing a fallback to inefficient kernels. But that alone shouldn't explain the magnitude. Profile kernel-level timing first. Look for operations like `grid_sample` or `einsum` that might be serializing on the T4's memory bandwidth.

How Rust's compile-time safety reshaped our thinking on delivery speed
InfoQ

How Rust's compile-time safety reshaped our thinking on delivery speed

Rust's borrow checker often gets framed as a barrier, but Ruth Linehan's talk flips that assumption. She shows how migrating high-performance caching services from Kotlin to Rust actually shortens the developer feedback loop, turning compile-time safety into a daily advantage. It's a practical look at how the language reshapes delivery velocity, not just runtime performance. For those exploring how modern infrastructure choices ripple outward, this pairs well with our coverage of Perplexity's move to CobbleDB.