What problem does it solve?
This Skill helps developers identify and fix performance bottlenecks in Julia code by detecting runtime dispatch, captured variables, and type instabilities that hinder optimization.
Core Features & Use Cases
- Detect Runtime Dispatch: Pinpoint functions that cannot be resolved at compile time, leading to slower execution.
- Identify Captured Variables: Find instances where closures capture reassigned variables, causing unnecessary memory allocations.
- Analyze Type Instabilities: Uncover issues related to non-constant global variables or abstract field types that prevent efficient code generation.
- Use Case: When your Julia function is unexpectedly slow, use this skill to automatically scan its entire call graph for optimization issues that
@code_warntype might miss.
Quick Start
Use the julia-jet-opt skill to report optimization issues for the call sum(Any[1, 2, 3]).