Profiler
Preview runs a development build, which is slower and behaves a little differently from what players get. The Profiler plays the real production build, the same one you publish, with a profiler built in. Play it for as long as you like, stop, and you get a report: FPS over time, memory, every lag spike with what caused it, the scripts and assets that cost the most, and how to fix each problem.
Open the Profiler
Open the avatar menu at the right of the navbar and hover Profiler. It has two items:
- Profile build ("Play the real build, find the lag") makes a profiling build and starts playing it.
- Performance reports opens the reports you've already recorded.

Record a profile
- Click Profile build. The editor switches to the Preview tab and builds the project the way Publish does. A card shows the progress, with Cancel.
- The build plays in the Preview pane. A recording bar runs along the top: "Profiling the build", the time, the current FPS and the number of lag spikes so far.
- Play the part of your game that matters: the busy level, the menu that stutters, the moment the boss appears.
- Click Stop and see report. The profile is saved and the report opens.
To stop without a report, click the × on the recording bar ("Stop without a report").
Recording starts once the first loads settle, so the loading screen doesn't drag the numbers down. Time when the window is hidden isn't counted as frames.
Keep the editor in front
A page behind other windows draws about once a second, so a profile taken while the editor is covered reads far slower than the game really is.
Read the report
The report opens full-window as Performance profile, with the date and how long you played.

- Profiles (left): every report recorded for this project, newest first. Click the bin next to one (Delete this profile) to remove it.
- Verdict: Runs smoothly, Playable, with drops or Struggles, with a line on where it was measured. A computer is faster than a phone, so a game that is only just smooth here will struggle on phones.
- Tiles: Average FPS, the slowest 1% of frames, Lag spikes (frames over 50 ms), Peak memory and Loading (game start to everything loaded).
- Frames per second: a chart over the whole session with the spikes marked, plus charts of JavaScript memory and draw calls over time.
- What to fix: the problems found, worst first, each with a Fix: line.
- Scripts: time in each script's update (average per frame, worst, share).
- Systems: the engine's own work each frame.
- Lag spikes: when each spike happened, how long the frame took, its likely cause (a script, an asset finishing, shaders compiling, garbage collection) and what else happened then.
- Assets: each file the game loaded, its size, load time, when it was ready and how many spikes it lined up with.
Press Esc or click × to close the report. Profile again records a new one straight away.
Ask the agent to fix it
Click Ask the agent to fix it at the top of a report. The editor closes the report and puts a request in the Agent message box naming that profile. Send it, and the agent reads the full report and works through the findings.
The agent can also start a profile and read reports itself when you ask it to look at performance.
Profiling on a headset
For XR projects, Profile build sends the build to your headset instead of playing it in the pane, the same way Preview does. The pane shows Profiling on your headset:
- If you've paired a headset, the build opens there by itself ("Sent to 1 paired headset"). Otherwise open the Address shown in the headset's browser (the same one the preview uses).
- Tap Start, then Enter VR, and play the part that matters for a minute or two.
- Come back to the editor and click Stop and see report. The report opens on your computer.
The status line shows the time, FPS, lag spikes and whether the headset is in VR. A headset session is judged against a headset's frame rate, so expect stricter findings than on a computer. While the headset profile runs, the normal preview is paused; it comes back when you stop or cancel.
Where profiles are kept
Reports are saved in your project's .relu/profiles/ folder (the last 40 are kept). The profiling build itself goes in .relu/profile-build/. Neither is published.
Related
- Stats in Preview for live numbers while you play
- Quality and devices
- Large worlds for streaming, LODs and occlusion

