智能体工作流

roblox-performance

el4cteo/roblox-skills

Performance diagnosis and optimization - MicroProfiler, Script Profiler, Developer Console, Scene Analysis, Luau heap and memory categories, memory leaks, network/replication cost, rendering and physics cost, streaming, native codegen, Parallel Luau with Actors. Use when a game lags, stutters, drops FPS, crashes on mobile, has high ping, or before optimizing hot code.

  • 544 次安装
  • 55 星标
  • 收录于

安装命令

npx skills add https://github.com/el4cteo/roblox-skills --skill roblox-performance

SKILL.md

Roblox performance

Measure before optimizing. Identify whether the bottleneck is server compute, client compute (CPU/GPU), memory, network, or load time, then use the matching tool.

Tools

Tool Open Use for
Developer Console F9 (in game) Errors, server/client memory by category, network, script activity. Works in live servers.
MicroProfiler Ctrl+Alt+F6 (⌘⌥F6); Dev Console for server Per-frame timing; spikes; dump a frame for detail.
Script Profiler Studio / Dev Console Which functions consume Luau time (sampling).
Luau heap snapshots Dev Console → Memory → Luau Heap What tables/closures/instances are held and by what (leaks).
Scene Analysis Studio Script memory, unparented instances (leaks), instance composition, audio/animation memory, triangles. Also SceneAnalysisService via Studio MCP.
Performance Stats / Debug Stats Ctrl+Alt+F7 / Shift+Ctrl+F1–F5 Live CPU/GPU/memory/network overlays.
Network Simulator Studio Device Simulator toolbar Test with latency, jitter, packet loss (3G/4G/Wi-Fi profiles).
Performance dashboard Creator Hub Live aggregate FPS, server heartbeat, memory, crash rates by device.

Label your own code in the MicroProfiler and memory views: