{"data":{"slug":"discovered-3b089858cf0cac1d49a2c4ea88fafc2b1b154fb1ea8bd1c5","title":"Roblox Luau Performance Optimization V29","summary":"Review Luau hot paths and propose focused, correctness-preserving Roblox performance improvements using measured profiling evidence.","url":"https:\/\/skillshunter.net\/skills\/discovered-3b089858cf0cac1d49a2c4ea88fafc2b1b154fb1ea8bd1c5","json_url":"https:\/\/skillshunter.net\/api\/public\/v1\/skills\/discovered-3b089858cf0cac1d49a2c4ea88fafc2b1b154fb1ea8bd1c5","markdown_url":"https:\/\/skillshunter.net\/skills\/discovered-3b089858cf0cac1d49a2c4ea88fafc2b1b154fb1ea8bd1c5.md","download_url":"https:\/\/skillshunter.net\/skills\/discovered-3b089858cf0cac1d49a2c4ea88fafc2b1b154fb1ea8bd1c5\/download","category":{"slug":"software-development","name":"Software & Development"},"editor_note":"Before proposing changes, ensure that a reproducible symptom and profiler evidence are provided. Define a before\/after test with equivalent scene, device, build settings, and player count.","instructions":"---\nname: roblox-luau-performance-optimization-v29\ndescription: Review Luau hot paths and propose focused, correctness-preserving Roblox performance improvements using measured profiling evidence.\n---\n\n# Luau Performance Optimization\n\n## Workflow\n\n1. Require a reproducible symptom and profiler evidence before calling a code path a bottleneck.\n2. Inspect the full call path, execution frequency, data size, client\/server boundary, and lifetime of created objects.\n3. Review tight polling, redundant work, repeated hierarchy traversal, expensive per-frame callbacks, repeated allocation\/cloning, and unnecessary remote or replicated updates.\n4. Estimate the complexity and correctness risks of possible changes before implementation.\n5. Prefer the smallest targeted change; preserve authoritative server decisions, deterministic behavior where required, and clear ownership of state.\n6. Define a before\/after test with equivalent scene, device, build settings, and player count.\n7. Re-profile and run relevant functional, multiplayer, and persistence regressions.\n8. Reject an optimization that improves a microbenchmark but harms responsiveness, correctness, maintainability, or real player experience.\n\n## Output\n\nFor every recommendation state: measured evidence, suspected cause, proposed change, risks, expected metric, validation method, and rollback approach. Clearly separate measured facts from hypotheses.\n\n## Do not\n\nDo not blindly replace event-driven logic with polling, introduce pooling without lifecycle cleanup, cache mutable state without invalidation, reduce replication at the cost of correctness, or weaken server validation to save CPU. Do not mass-rewrite unrelated files.\n","use_cases":["Identify and resolve performance bottlenecks in Roblox games using profiling data","Propose performance improvements that preserve correctness and maintainability","Validate optimization changes with before\/after testing and regression checks"],"limitations":[],"compatibility":[],"setup_tip":null,"sample_input":null,"sample_output":null,"source_url":"https:\/\/github.com\/Aziz24666\/Codex_Roblox_skills\/blob\/eb2be117f63d6442c0f9b6d9d38bbdd7adf9374c\/v29\/skills\/roblox-luau-performance-optimization-v29\/SKILL.md","source_commit":"eb2be117f63d6442c0f9b6d9d38bbdd7adf9374c","license":null,"version":null,"listing_approved_at":"2026-11-30","created_at":"2026-11-29T11:00:53.000000Z","updated_at":"2026-11-30T06:51:59.000000Z","seo_title":"Roblox Luau Performance Optimization V29","seo_description":"Optimize Roblox Luau performance by reviewing hot paths and proposing targeted improvements based on measured profiling evidence.","seo_keywords":["Roblox Luau optimization","performance profiling","game development","correctness-preserving improvements","Roblox hot path analysis"]}}