The tick budget
Past 25 ms of scripts, half of a 50 ms server tick, a tick counts as heavy. Heavy ticks leave little room to sync players, which they feel as lag.
Find the scripts behind your server’s hitches. FiveM has a profiler built in: it records how long every script takes each server tick. Drop that profile here to see which resources cost the most, and what to fix first.
Free · No sign-up · Your file never leaves your browser
In your server console (txAdmin’s Live Console works), record 500 frames.
When it finishes, save it. The file lands next to your server’s run.bat.
The .json, or a .zip of it. It’s read in your browser and never uploaded.
It adds up the script time in every server tick, grades the load, and points at the resources behind it.
Past 25 ms of scripts, half of a 50 ms server tick, a tick counts as heavy. Heavy ticks leave little room to sync players, which they feel as lag.
From the average script time per tick and the share of heavy ticks, whichever is worse.
Each comes with the fix to try first.
Recording a profile, what the grade means, and fixing what it finds.
Support online 24/7 · Discord and tickets
Question 01
profiler record 500 to record 500 frames.profiler saveJSON myprofile.json.myprofile.json from the folder your server’s run.bat is in, and drop it in the analyzer.Question 02
No. The analyzer reads the file in your browser, in the background so the page stays responsive. Nothing is sent to us or anyone else.
Question 03
A server tick where scripts took more than 25 ms, half of a 50 ms tick.
Heavy ticks leave little room for syncing players and entities, which players feel as lag, rubber-banding and desync.
Question 04
It comes from your average script time per tick and the share of heavy ticks, whichever is worse:
Question 05
Wait(0) or a very short wait.Wait(500) for anything a player won’t notice.Question 06
Most scripts only do real work when players are around. An empty server shows almost nothing, so profile at a busy hour for a picture that matches what your players feel.
Question 07
No. The analyzer reads server profiles, recorded in the server console. A profile recorded in the game client has no server ticks for it to measure.
Hosting from the team behind these tools: DDoS protection and txAdmin ready, and your players can join minutes after you pay.