ecs-performance-audit

Community

Optimize ECS for peak performance.

Authorkateusz
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill performs a comprehensive performance analysis of Entity Component System (ECS) implementations, identifying bottlenecks, memory allocation issues, and cache coherency problems that directly impact frame rate. It helps developers optimize entity processing, system execution order, and data access patterns for maximum game performance.

Core Features & Use Cases

  • System Iteration Analysis: Identifies inefficient entity iteration patterns, O(n²) algorithms, and unnecessary LINQ allocations in hot loops.
  • Priority & Ordering Validation: Verifies system execution order and suggests adjustments for better parallelization potential.
  • Memory Allocation Detection: Flags allocations in OnUpdate(), Render(), and OnEvent() loops, including boxing, LINQ materializations, and closure captures.
  • Data Locality & Cache Coherency: Evaluates component data layout and suggests cache-friendly packing strategies.
  • Use Case: If the game experiences frame rate drops when many entities are active, this Skill can audit the RenderingSystem to identify excessive allocations in its OnUpdate() method, suggest replacing .ToList() with direct iteration, and recommend optimizing component data access for better cache performance.

Quick Start

Analyze the RenderingSystem.cs for any LINQ materializations in its OnUpdate() loop that might be causing unnecessary memory allocations.

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: ecs-performance-audit
Download link: https://github.com/kateusz/GameEngine/archive/main.zip#ecs-performance-audit

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.