game-performance-profiler — команда для Claude Code: анализ
Разбирает узкие места игрового проекта по кадрам, памяти и рендерингу и выдаёт список оптимизаций с приоритетами.
npx claude-code-templates@latest --command game-development/game-performance-profilerЧто делает game-performance-profiler
Команда запускает аудит производительности и собирает отчёт: где проседает частота кадров, как расходуется память, что с шейдерами и тенями. Сначала она осматривает проект — ищет файлы движка, конфиги сборки, ассеты и логи профилирования, — потом раскладывает находки по severity и предлагает правки.
Аргумент задаёт область разбора: --fps, --memory, --rendering или --comprehensive. Есть и раздел по платформам: мобильные ограничения по батарее и троттлингу, консольные гайдлайны, масштабирование под PC, требования VR, нюансы WebGL. Инструменты у команды — Read, Write, Edit, Bash.
На выходе четыре блока: отчёт с метриками и оценкой серьёзности проблем, приоритизированные рекомендации с оценкой сложности внедрения, настройка мониторинга и стратегия тестирования на целевых устройствах. Профиль проекта определяется по файлам вроде *.pbxproj, *.gradle и *.vcxproj — если их нет, контекст придётся описать самому.
Какие задачи решает
- найти узкие места в частоте кадров и батчинге
- оценить расход памяти под текстуры и звук
- разобрать сложность шейдеров и перерисовку
- собрать рекомендации под конкретную платформу
- настроить отслеживание регрессий производительности
Примеры запросов агенту
- /game-performance-profiler --fps
- /game-performance-profiler --memory
- /game-performance-profiler --comprehensive
Как установить game-performance-profiler
1Через claude-code-templates
npx claude-code-templates@latest --command game-development/game-performance-profiler2Вручную: положить файлы
.claude/commands/game-performance-profiler.mdВызов — /game-performance-profiler. Для всех проектов — ~/.claude/commands/
Вручную: положить файлы
~/.codex/prompts/game-performance-profiler.mdВызов — /prompts:game-performance-profiler. В Codex этот формат помечен устаревшим, замена — скиллы
Вручную: положить файлы
.github/prompts/game-performance-profiler.prompt.mdВручную: положить файлы
.gemini/commands/game-performance-profiler.tomlGemini хранит команды в TOML: текст запроса — в поле prompt
Из того же набора205
Весь набор →Похожие
Вопросы о game-performance-profiler
Как установить game-performance-profiler в Claude?
Через шаблоны: npx claude-code-templates@latest --command game-development/game-performance-profiler. Файл появится по пути .claude/commands/game-performance-profiler.md.
Что делает game-performance-profiler?
Анализирует производительность игрового проекта и готовит отчёт с узкими местами, рекомендациями по оптимизации, схемой мониторинга и планом тестирования.
Какие аргументы принимает команда?
--fps, --memory, --rendering или --comprehensive — они задают область анализа.
Исходный текст
game-performance-profiler.md · MIT
--- allowed-tools: Read, Write, Edit, Bash argument-hint: "[profile-type] | --fps | --memory | --rendering | --comprehensive" description: Use PROACTIVELY to analyze game performance bottlenecks and generate optimization recommendations across multiple platforms --- # Game Performance Analysis & Optimization Analyze game performance and generate optimization recommendations: $ARGUMENTS ## Current Performance Context - Game engine: @package.json or detect Unity/Unreal/Godot project files - Platform targets: !`find . -name "*.pbxproj" -o -name "*.gradle" -o -name "*.vcxproj" | head -3` - Asset pipeline: !`find . -name "*.meta" -o -name "*.asset" | wc -l` game assets - Build configs: !`grep -r "BuildTarget\|Platform" . 2>/dev/null | wc -l` platform configurations - Performance logs: !`find . -name "*profile*" -o -name "*perf*" | head -5` ## Task Create comprehensive performance analysis with automated bottleneck detection, optimization suggestions, and platform-specific recommendations for game development projects. ## Performance Analysis Areas ### 1. Frame Rate & Rendering Performance - Analyze draw calls and batching efficiency - Identify overdraw and fillrate bottlenecks - Review shader complexity and optimization opportunities - Evaluate mesh and texture optimization potential - Check lighting and shadow rendering performance ### 2. Memory Usage Analysis - Memory allocation patterns and potential leaks - Texture memory usage and compression opportunities - Audio memory optimization suggestions - Object pooling and garbage collection analysis - Platform-specific memory constraints evaluation ### 3. CPU Performance Profiling - Script execution bottlenecks identification - Physics simulation optimization opportunities - AI and pathfinding performance analysis - Animation system efficiency review - Threading and parallelization recommendations ### 4. Platform-Specific Optimization - Mobile performance considerations (battery, thermal throttling) - Console-specific optimization guidelines - PC hardware scaling recommendations - VR performance requirements and optimizations - Web/WebGL specific performance considerations ## Deliverables 1. **Performance Audit Report** - Current performance metrics and benchmarks - Identified bottlenecks with severity ratings - Platform-specific performance analysis 2. **Optimization Recommendations** - Prioritized optimization suggestions - Implementation difficulty and impact assessment - Code and asset optimization guidelines 3. **Monitoring Setup** - Performance monitoring implementation - Key metrics tracking configuration - Automated performance regression detection 4. **Testing Strategy** - Performance testing procedures - Target device testing recommendations - Continuous performance monitoring setup ## Implementation Guidelines Follow game engine best practices and target platform requirements. Generate actionable recommendations with clear implementation steps and expected performance improvements.
© davila7 · MIT · davila7/claude-code-templates