How to use the profiler command to detect “Hitch Warnings” (Delay in FiveM Server)

Tutoriale, ghiduri de optimizare si suport pentru crearea serverelor.
Post Reply
User avatar
greenie
Full Member
Full Member
Posts: 2668
Joined: Sun Nov 21, 2021 4:55 pm
Jucator SA:MP ?: Nu
Nick:: greenie
Jucator CS ?: Da

How to use the profiler command to detect “Hitch Warnings” (Delay in FiveM Server)

Post by greenie »

Hi!, Here a Short tutorial of how to use the profiler command in the F8 FiveM console to detect Hitch Warning alerts in you FiveM Server!

You can see which scripts are giving you the “Hitch Warnings” in the FiveM F8 Console, you have to do the following:

Type in the F8 Console: profiler record 500 (500 = frames you want record, if you want to record more frames only type the frames you want to record)

Let FiveM record the frames (You can watch the status only typing: profiler status)

Image

Finally, when in the profiler status appear 500/500, you can watch the info typing in the F8 Console:

profiler view

Then you are going to see a screen like this

Image

If you want to watch the scripts that are delaying the server you have to do zoom in the yellow lines

Image

Then you have to fix the lines that appear in the yellow lines

Image

Or delete the resource if you want.
𝑴𝒂𝒚𝒃𝒆 𝒕𝒉𝒆 𝑬𝒂𝒓𝒕𝒉 𝒊𝒔 𝒕𝒉𝒆 𝑯𝒆𝒍𝒍 𝒐𝒇 𝑨𝒏𝒐𝒕𝒉𝒆𝒓 𝑷𝒍𝒂𝒏𝒆𝒕... ☢️

✅ GAZDUIRE JOCURI / VPS / GAZDUIRE WEB / SERVERE DEDICATE - Stock NELIMITAT / Valabil comandati pe https://www.zonek.ro/
Post Reply

Return to “Server Development”