一键导入
roblox-performance
Use when profiling Roblox performance or diagnosing FPS, memory, network, mobile, or hot-path problems, including MicroProfiler and optimization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when profiling Roblox performance or diagnosing FPS, memory, network, mobile, or hot-path problems, including MicroProfiler and optimization.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Use when implementing Roblox character animations, particles, beams, trails, tweens, camera shake, or other visual effects.
Use when building Roblox menus, HUDs, shops, notifications, dialogs, or responsive cross-platform UI.
Use when handling Roblox keyboard, mouse, gamepad, touch, motion input, or cross-platform action binding.
Use when validating RemoteEvent or RemoteFunction arguments, adding rate limits, designing server-authoritative systems, or preventing exploits.
Use when creating Roblox NPCs or enemies with pathfinding, state machines, line-of-sight or FOV detection, spawns, or AI update loops.
Use when building Roblox vehicles, ragdolls, projectiles, elevators, constraints, forces, or other physics-driven gameplay.
基于 SOC 职业分类
| name | roblox-performance |
| description | Use when profiling Roblox performance or diagnosing FPS, memory, network, mobile, or hot-path problems, including MicroProfiler and optimization. |
| last_reviewed | "2026-07-13T00:00:00.000Z" |
| sources | ["https://create.roblox.com/docs/performance-optimization","https://devforum.roblox.com/t/full-release-of-parallel-luau-v1/1836187","https://devforum.roblox.com/t/best-uses-of-parallel-luau/3530516"] |
Use when profiling, diagnosing lag, optimizing hot paths, or setting performance budgets. Load if the user mentions FPS drops, memory issues, network bandwidth, or mobile optimization.
| Metric | Target | Hard Limit |
|---|---|---|
| Server heartbeat | < 16ms | < 33ms |
| Client FPS (desktop) | 60 | 30 |
| Client FPS (mobile) | 45 | 30 |
| Memory (mobile) | < 800MB | < 1.2GB |
-- Core pattern: pre-clone, reuse, avoid GC pressure
local Pool = {}
function Pool:get(): Instance
return table.remove(self._available) or self._template:Clone()
end
function Pool:release(obj: Instance)
obj.Parent = nil
table.insert(self._available, obj)
end
StreamingTargetRadius (start 256, tune down for mobile), StreamingMinRadius (~64).FindFirstChild("DistantPart") returns nil if streamed out. Use WaitForChild with timeout.MCP verification: collect a baseline and inspect runtime counters after changes.
Need more detail? Load references/full.md for the complete reference with code examples, API tables, and edge cases.