Module 10

Testing and performance

Debugging, unit and integration tests, profiling, Parallel Luau and mobile budgets.

Start lesson 1: Debugging: breakpoints, the console, a method
Lessons
6
Time
7.5 hours
Practice
7 code cells, 60 questions
0 of 6 finished

Lessons

  1. 1Debugging: breakpoints, the console, a methodDebug a Roblox game like a pro. Pause Beacon Yard's server code on a breakpoint, read Watch and the Call Stack, use logpoints and the F9 Developer Console, and follow a repeatable method.Tool, 75 min
  2. 2Unit tests with Jest-LuaWrite unit tests for a Roblox game with Jest-Lua. Test Beacon Yard's pure rules in unit/specs/*.spec.luau, mock slow dependencies, run the test place from Studio's command bar in Edit mode, and understand what CI checks.Tool, 70 min
  3. 3Integration playtestsRun integration playtests inside a real Roblox Play session. Read Beacon Yard's tests/ harness, invoke RunGameTests, use test-only attributes, keep Output clean, and fix a flaky health check.Project, 70 min
  4. 4Performance: MicroProfiler, memory, networkProfile a Roblox game with the MicroProfiler, Script Profiler and Developer Console. Find what Beacon Yard does every frame, profile a drill, count its particles, read memory and network, and measure native code before and after.Tool, 95 min
  5. 5Parallel Luau: Actors and multithreadingLearn Parallel Luau for Roblox. Put scripts under Actors, desynchronize for independent work, synchronize to touch the world, share data with messages and SharedTable, and judge when Beacon Yard would benefit.Concept, 65 min
  6. 6Mobile: streaming, memory and draw budgetsMake a Roblox game run on low-end phones. Learn instance streaming and its model modes, test in Studio's device simulation and on a real phone, and budget memory, instances, textures and draw calls.Lab, 80 min

Game versions in progress

Also works on m14-ship, which finishes in a later module.