js-performance-patterns

Installation
SKILL.md

JavaScript Performance Patterns

Table of Contents

Runtime performance micro-patterns for JavaScript hot paths. These patterns matter most in tight loops, frequent callbacks (scroll, resize, animation frames), and data-heavy operations. They apply to any JavaScript environment — React, Vue, vanilla, Node.js.

When to Use

Reference these patterns when:

  • Profiling reveals a hot function or tight loop
  • Processing large datasets (1,000+ items)
  • Handling high-frequency events (scroll, mousemove, resize)
  • Optimizing build-time or server-side scripts
  • Reviewing code for performance in critical paths
Related skills
Installs
308
GitHub Stars
202
First Seen
Mar 30, 2026