Programowanie · Analiza
roblox-performance
/roblox-performance
Profiluje i naprawia wydajność Roblox przy niskim FPS, spadkach klatek, pamięci, obciążeniu sieci i słabych telefonach.
Dla kogo
- Autor
- tabooharmony ↗
- Repozytorium
- roblox-brain ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 14.10.2026
Ocena i bezpieczeństwo
100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
- Pliki w paczce
- 2
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 8
Przestarzałość
Brak sygnałów. Repozytorium zmienione 14.10.2026, bez odwołań do wycofanych modeli i API.
Licencja
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Profiluje i naprawia wydajność Roblox przy niskim FPS, spadkach klatek, pamięci, obciążeniu sieci i słabych telefonach.
Oryginalny opis (EN)
Use when profiling or fixing Roblox performance: low FPS, lag, memory, network load, slow phones, hot paths.
Jak działa
- When to Load
- Quick Reference
Sekcje z nagłówków SKILL.md, w oryginale · 47 linii, 297 słów
Podgląd SKILL.md
---
name: roblox-performance
description: "Use when profiling or fixing Roblox performance: low FPS, lag, memory, network load, slow phones, hot paths."
when_to_use: "Also when the game stutters, phones overheat or crash, server heartbeat drops, before adding many parts/effects/UI, and when auditing performance before release."
last_reviewed: 2026-10-02
sources:
- https://create.roblox.com/docs/en-us/performance-optimization/microprofiler
- https://create.roblox.com/docs/en-us/reference/engine/libraries/debug
- https://devforum.roblox.com/t/huge-memory-leak-prevention-for-everyone-or-most-people-atleast/3099605
- https://devforum.roblox.com/t/full-release-of-parallel-luau-v1/1836187
- https://luau.org/performance
- https://create.roblox.com/docs/reference/engine/classes/Actor
- https://create.roblox.com/docs/reference/engine/datatypes/SharedTable
- https://create.roblox.com/docs/scripting/multithreading
---
# Roblox Performance
## When to Load
Use for profiling and performance budgets. Pooling and lifecycle patterns: `roblox-luau-patterns`.
## Quick Reference
### Profiling Tools
- **MicroProfiler (Ctrl+F6)**: Frame breakdown of scripts, physics, rendering.
- **Developer Console (F9)**: Memory, network, rendering, and server stats.
- **Script Profiler (Ctrl+Alt+F5)**: Per-script CPU and heap.
- **Labels**: `debug.profilebegin`/`debug.profileend` mark regions; `debug.setmemorycategory` labels memory. Gate instrumentation behind a flag.
### Performance Targets
| Metric | Starting target | Investigate at |
|--------|-----------------|----------------|
| Server heartbeat | < 16ms | > 33ms |
| Client FPS (desktop) | 60 | < 30 |
| Client FPS (mobile) | 45 | < 30 |
| Memory | device-specific | sustained growth |
Optimize measured hot paths, not folklore. Throttle from measurements; re-profile after shipping.
### Parallel Luau
- Use Actors only after profiling identifies isolatable CPU work.
- Workers compute; synchronize before restricted DataModel writes.
- Do not rely on shared module state across Actors. `SendMessage` copies data; SharedTable supports shared state and atomic updates.
### Hot-loop cost model
- Luau optimizes global imports; avoid folklore function hoisting/unrolling. Environment impurity can disable optimizations. Profile allocations as well as CPU; GC cost may occur later.
### Object Pooling
Pre-clone and reuse. Canonical pool code (token-lease ownership): `roblox-luau-patterns`.
### StreamingEnabled Essentials
- **On by default**. Container-scoped: only Workspace descendants stream. `ModelStreamingBehavior = Improved` streams non-BasePart descendants with their parent Model; Legacy streams only BaseParts.
- **Streamed-out = parented to nil**, not destroyed. Luau refs persist if it streams back.
- **Config (Studio)**: target defaults 1024, min 64; set `StreamingIntegrityMode`; tune from data.
- **Gotcha**: `FindFirstChild("DistantPart")` returns nil if streamed out. Use WaitForChild with timeout.
### Mobile
- Profile geometry, textures, particles, UI, shadows on low-end devices.
> Full reference with code examples and API tables: [references/full.md](references/full.md)
Pliki w paczce (2)
- SKILL.md 3 KB
- references/full.md 24 KB
Wersje
| Repozytorium | Wynik | Licencja |
|---|---|---|
| Ta strona · tabooharmony/roblox-brain | 100 | MIT |
| el4cteo/roblox-skills | 100 | MIT |
| gustavopiumbini/robloxcodingtoolkit | 90 | MIT |
Migawka bazy z 13.11.2026 · wersja paczki ec969136cdbf (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100roblox-performance-audit
Naprawia wydajność gry Roblox na podstawie pomiarów: MicroProfiler, pamięć, sieć i budżety telefonów przy lagach i spadkach FPS. - 100scenario-roblox-performance
Diagnozuje i poprawia wydajność gry w Roblox: lagi na telefonach, niski FPS, lag serwera i sieci, wycieki pamięci, długie ładowanie, MicroProfiler i Script Profiler, także przed publikacją. - 100roblox-testing
Testuje, debuguje i profiluje doświadczenia Roblox: debugowanie w Studio, logowanie, czyszczenie połączeń i diagnostykę pamięci. - 91roblox-game-development
Wspiera wszelkie prace związane z tworzeniem gier na platformie Roblox. - 100mobile-app-performance-fps-memory-profiling
Profiluje aplikację mobilną pod kątem spadków klatek, wycieków pamięci, skoków CPU i zużycia baterii w Instruments i Android Profiler. - 100roblox-docs
Sprawdza oficjalną dokumentację Roblox, zamiast polegać na pamięci, i podaje sygnatury metod, właściwości oraz wycofane API.