Log in to reply

How to track my script's resource usage?

  • So, I was wondering if there is a way to visualize the performance of my script, because sometimes I feel that something is abnormal in my game, but I can't confirm if the source is my code or another script.

    does anyone know how I can perform this analysis?

  • Coming back here to say that I discovered that Visual Studio 2022, in its Debug area has an option called "Performance Profiles", which aims to assist the developer in monitoring the code. And in one of its profiles there is the possibility to add an open windows process and monitor its interaction with the processor, thus having information like this:

    That's it! In the time I've been searching, this is what I've come up with. If you know of an easier way, please let me know.

  • @Niziul Thanks for sharing. From my own experience, I can only suggest to reboot before benchmarking - Windows and apps are notorious for allowing memory leaks. This also manifests itself in FPS. I've had sessions where my FPS drops to 20 or so on start, then on reboot back to 60fps (with Vsynch) or above 90 (with Vsynch).

Log in to reply

Looks like your connection to GTA5-Mods.com Forums was lost, please wait while we try to reconnect.