
Remotion Performance Optimizer
Cut Remotion render times by profiling compositions and applying prioritized fixes for compute, assets, memoization, and render path.
Install
npx skills add https://github.com/ncklrs/startup-os-skills --skill remotion-performance-optimizerWhat is this skill?
- Four optimization rule areas: computation, assets, memoization (useMemo/useCallback/memo), and render-path structure
- Four analysis areas: profiling tools, bottleneck detection, benchmark targets, and optimization priorities by impact
- Computation analysis for expensive operations on the render path
- Re-render detection for unnecessary component updates in compositions
- Asset optimization for size, format, and loading in video output
Adoption & trust: 1 installs on skills.sh; 27 GitHub stars; 3/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
Recommended Skills
Journey fit
Render-time and bottleneck work is Ship performance engineering once compositions exist—not idea research or net-new UI scaffolding. The skill targets measurable render speed, profiling, and benchmark targets—classic perf subphase for programmatic video pipelines.
Common Questions / FAQ
Is Remotion Performance Optimizer safe to install?
skills.sh reports 3 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.
SKILL.md
READMESKILL.md - Remotion Performance Optimizer
# Rule Sections ## Optimization Categories - computation-optimization.md — Optimizing expensive calculations and operations - asset-optimization.md — Asset size, format, and loading optimization - memoization-strategies.md — When and how to use useMemo, useCallback, memo - render-optimization.md — Render path and component structure improvements ## Analysis and Profiling - performance-profiling.md — Tools and techniques for measuring performance - bottleneck-detection.md — Identifying performance bottlenecks - benchmark-targets.md — Performance targets and acceptable ranges - optimization-priorities.md — Prioritizing optimization efforts by impact --- name: remotion-performance-optimizer description: Analyzes Remotion compositions for performance issues and provides optimization recommendations. Identifies expensive computations, unnecessary re-renders, large assets, memoization opportunities, and architecture improvements. Use when optimizing render times or when asked to "improve performance", "speed up renders", "optimize Remotion video". --- # Remotion Performance Optimizer Comprehensive performance analysis and optimization recommendations for Remotion video compositions. Identifies bottlenecks and provides actionable fixes to reduce render times. ## What This Skill Does Performs deep performance analysis: 1. **Computation analysis** — Identify expensive operations in render path 2. **Re-render detection** — Find unnecessary component re-renders 3. **Asset optimization** — Recommend asset size and format improvements 4. **Memoization opportunities** — Identify cacheable calculations 5. **Architecture review** — Suggest structural improvements 6. **Render profiling** — Analyze frame render times ## Input/Output Formats ### Input Format: Remotion Composition Code Accepts implemented Remotion composition files: **Files to analyze:** ``` src/remotion/compositions/VideoName/ ├── index.tsx # Main composition ├── constants.ts # Color, timing, spring configs ├── types.ts # TypeScript types └── scenes/ ├── Scene1.tsx ├── Scene2.tsx └── Scene3.tsx ``` **Context needed:** - Target render time goals (e.g., < 100ms/frame) - Composition complexity (simple, moderate, complex) - Any specific performance concerns **Example request:** ``` Analyze performance of VideoName composition. Target: < 100ms/frame average render time. Scene 2 is rendering slowly (200ms/frame). ``` ### Output Format: OPTIMIZATION_REPORT.md Generates detailed performance analysis with actionable fixes: ```markdown # Performance Optimization Report: [Video Title] **Date:** 2026-01-23 **Analyzer:** remotion-performance-optimizer **Composition:** `src/remotion/compositions/VideoName/` --- ## Executive Summary **Current Performance:** ⚠️ NEEDS OPTIMIZATION | Metric | Current | Target | Status | |--------|---------|--------|--------| | **Average Render Time** | 145ms/frame | < 100ms | 🔴 45% over target | | **Slowest Scene** | Scene 2: 285ms | < 150ms | 🔴 90% over target | | **Total Render Time (estimated)** | 36 minutes | < 20 minutes | 🔴 80% over target | | **Memory Usage** | Normal | Normal | 🟢 Good | **Potential Improvement:** 60-70% faster render times after implementing recommendations **Priority Actions:** 1. Replace Math.random() with seeded random in Scene 2 (55% improvement) 2. Optimize large product image (20% faster asset loading) 3. Extract repeated spring calculations (15% improvement) --- ## Performance Breakdown by Scene | Scene | Avg Render Time | Status | Primary Bottleneck | |-------|----------------|--------|-------------------| | Scene 1 | 75ms | 🟢 Good | None | | Scene 2 | 285ms | 🔴 Critical | Non-deterministic particle system | | Scene 3 | 95ms | 🟡 Acceptable | Large asset loading | | Scene 4 | 80ms | 🟢 Good | None | **Overall:** 145ms average (Target: < 100ms) --- ## Issues Found ### CRITICAL (Major Performance Impact) #### 1. Non-Deterministic Particle System in Scene