# Google Adds Cycle-Level Kernel Profiling to XProf

DevFeed: [Google Adds Cycle-Level Kernel Profiling to XProf](<https://devfeed.tech/articles/google-adds-cycle-level-kernel-profiling-to-xprof-58474.md>)

Original publisher: [Read original article](<https://www.infoq.com/news/2026/09/google-tpu-xprof/>)

Author: Claudio Masolo

Published: 2026-09-23T10:00:00Z

Content type: news

Language: en

Sources: [InfoQ](<https://devfeed.tech/sources/infoq.md>)

Topics: [Kernel](<https://devfeed.tech/topics/kernel.md>), [Google](<https://devfeed.tech/topics/google.md>), [Hardware](<https://devfeed.tech/topics/hardware.md>), [Compiler](<https://devfeed.tech/topics/compiler.md>), [mlir](<https://devfeed.tech/topics/mlir.md>)

Tags: [ai](<https://devfeed.tech/tags/ai.md>), [ai-ml-data-engineering](<https://devfeed.tech/tags/ai-ml-data-engineering.md>), [artificial-intelligence](<https://devfeed.tech/tags/artificial-intelligence.md>), [benchmark](<https://devfeed.tech/tags/benchmark.md>), [code-profiler](<https://devfeed.tech/tags/code-profiler.md>), [compilation](<https://devfeed.tech/tags/compilation.md>), [compiler](<https://devfeed.tech/tags/compiler.md>), [developers](<https://devfeed.tech/tags/developers.md>), [efficiency](<https://devfeed.tech/tags/efficiency.md>), [google](<https://devfeed.tech/tags/google.md>), [google-tpu-xprof](<https://devfeed.tech/tags/google-tpu-xprof.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [hardware](<https://devfeed.tech/tags/hardware.md>), [kernel](<https://devfeed.tech/tags/kernel.md>), [low-level](<https://devfeed.tech/tags/low-level.md>), [memory](<https://devfeed.tech/tags/memory.md>), [ml-data-engineering](<https://devfeed.tech/tags/ml-data-engineering.md>), [mlir](<https://devfeed.tech/tags/mlir.md>), [news](<https://devfeed.tech/tags/news.md>), [open-source](<https://devfeed.tech/tags/open-source.md>), [performance](<https://devfeed.tech/tags/performance.md>), [profiling](<https://devfeed.tech/tags/profiling.md>), [runtime-telemetry](<https://devfeed.tech/tags/runtime-telemetry.md>), [tpu](<https://devfeed.tech/tags/tpu.md>), [trace](<https://devfeed.tech/tags/trace.md>)

## AI overview

Google added a Kernel Profiling suite to its open-source XProf profiler, giving developers cycle-level visibility into custom TPU kernels. The tooling inspects lowered MLIR, static execution, and runtime hardware-counter telemetry. A Google-authored matmul example reduced kernel time from 125.5µs to 88µs through triple buffering, but the result is presented as a workflow demonstration rather than a broad benchmark.

## Source excerpt

Google has added a Kernel Profiling suite to XProf. This is its open-source profiler for TPU workloads. Now, developers can see cycle-level details in custom Pallas kernels. Before, these kernels appeared as single opaque blocks in trace captures. By Claudio Masolo