Tick execution time

i was wondering if there’s a way to “debug” my C# scripts and to check which registered Tick might be raising ms in resource monitor.
ServerSide we can help ourselves with ETW Trace… but ClientSide?

you can use resmon
Preview:
Untitled

humm ^^ duh! i know but since i have a lot of Ticks… and resmon doesn’t tell which ticks gives fivem headaches… the question is more tecnical then type resmon1 in F8

something like Why my gamemode is going 1.5ms and if i get in a vehicle i get up to 1.7ms?


How can i debug which registered Tick is going bananas?

badly coded? potato pc?
you can debug by analysing the resource code and figure out a way to optimize it (rewrite function in a better way, less loops…etc)

1 Like

yeah… but if i can’t find better ways to code my code? without a real debugging is not so easy… and i can’t debug irl like when making a real software… i was just asking if there is any library / way / somewhat that might help to address the faulty portion of code and accelerate debugging process