jit-compilation
SolidExpert skill for just-in-time compilation including profiling, tiered compilation, and deoptimization
AI & Automation 1,160 stars
71 forks Updated today MIT
Install
Quality Score: 94/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# JIT Compilation Skill
## Overview
Expert skill for just-in-time compilation including profiling, tiered compilation, and deoptimization.
## Capabilities
- Implement execution profiling and hot path detection
- Design tiered compilation strategies (baseline + optimizing)
- Implement on-stack replacement (OSR)
- Implement speculative optimizations with guards
- Design deoptimization frame reconstruction
- Implement inline caching and type feedback
- Design code cache management and eviction
- Implement method inlining heuristics
## Target Processes
- jit-compiler-development.js
- bytecode-vm-implementation.js
- interpreter-implementation.js
## Dependencies
V8/HotSpot architecture references
## Usage Guidelines
1. **Tiered Approach**: Start with a baseline tier, add optimizing tier when profiling data is available
2. **Profile-Guided**: Use profiling data to guide optimization decisions
3. **Speculation**: Implement guards for speculative optimizations with clean deoptimization
4. **OSR**: Implement OSR for long-running loops to benefit from optimization mid-execution
5. **Code Cache**: Implement code cache management to handle memory pressure
## Output Schema
```json
{
"type": "object",
"properties": {
"tiers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": { "type": "string" },
"trigger": { "type": "string" }
}
}
},
"profilingMethod": {
"type": "string",
...
Details
- Author
- a5c-ai
- Repository
- a5c-ai/babysitter
- Created
- 4 months ago
- Last Updated
- today
- Language
- JavaScript
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
AI & Automation Solid
bytecode-vm
Expert skill for bytecode virtual machine design including instruction set design, dispatch mechanisms, and stack/register architectures
1,160 Updated today
a5c-ai AI & Automation Solid
code-profiler
Profile code performance and identify bottlenecks
1,160 Updated today
a5c-ai AI & Automation Solid
llvm-backend
Expert skill for LLVM integration including IR generation, optimization passes, and native code emission
1,160 Updated today
a5c-ai AI & Automation Solid
micro-optimizer
Apply language-specific micro-optimizations
1,160 Updated today
a5c-ai AI & Automation Solid
memory-allocator
Expert skill for custom memory allocator design optimized for language runtime needs
1,160 Updated today
a5c-ai