detecting-deoptimizations

Community

Trace deoptimizations to stabilize compiled code.

Authorantonykamp
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Traces deoptimization events where execution falls back from compiled code to interpreter. This enables you to identify the most severe performance problems and understand why compilation backs off to interpretation.

Core Features & Use Cases

  • Deoptimization pattern detection: identify loops where the VM repeatedly deoptimizes, causing slowdowns.
  • Stability diagnostics: surface unstable type assumptions and shape changes that trigger recompilation.
  • Use Case: diagnose performance regressions after compilation by locating where the VM switches to interpretation and why.

Quick Start

Run a deoptimization trace with the launcher options to begin collecting transfer events.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: detecting-deoptimizations
Download link: https://github.com/antonykamp/cc-truffle-performance-plugin/archive/main.zip#detecting-deoptimizations

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.