latency-instrumentation - Latency Instrumentation & Self-Healing Compile Loop
Injects TRACE_EVENT macros into Chromium C++ files to expose latency gaps, resolves headers, and compiles the browser using a self-healing loop.
Tags
Updated: 2026-09-14Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Locate target C++ files
- Identify method boundaries
- Inject trace macros
- Format code with git cl
- Compile browser using autoninja
- Revert uncommitted changes on failure
- Commit successful changes locally
Inputs
- Target method name
- Trace category
- Trace injection instructions
- Parent session ID
Outputs
- Execution status
- List of modified files
- Compilation log output
- Local git commit
Requirements
- Chromium C++ codebase
- ripgrep or codesearch tool
- git cl command-line tool
- autoninja build system
