Skip to content

FiveM: Use the Profiler to Detect Server Issues

Learn how to analyze server performance and find resource issues with the FiveM Profiler for smoother gameplay

26 November 20261 min read56 Views0 helpful

Don't have your own server yet? Host your FiveM server with ZAP-Hosting from €5.29 / month.Or try 3 days from €0.95

Introduction

The Profiler is a very useful and easy-to-use tool for measuring your server's performance. You can use it to check code and threads that may be causing performance issues. This can happen, for example, because of poorly developed resources or similar issues. The Profiler is integrated directly into the server software.

Using the Profiler

Using the FiveM Profiler is pretty simple. Just enter the commands profiler record 100 and profiler view in the live console. This creates a profile with 100 frames, which you can open using the link in the console.

On current server versions, the link from profiler view points to an address like https://deprecated-….users.cfx.re/profileData.json that can no longer be reached, so the page stays empty. The profile data is stored on your server, and you can open it directly:

  1. Run profiler record 100 and then profiler view. Only then does the server provide the file.
  2. Open http://<Server-IP>:<Port>/profileData.json in your browser (the IP and port players use to connect) and save the file with Ctrl+S. If you have set sv_profileDataToken, add ?token=<Token> to the address.
  3. Open the developer tools in Chrome (F12), switch to the Performance tab and click Load profile (arrow pointing up). Select the saved file.

Identifying issues

The Profiler shows you information about individual activities (ticks) that you should take a closer look at. Select a range of ticks and zoom in. You can then see which processes ran during those ticks and how long they took.

This also helps you identify which resources are taking up a lot of time. Resources that take more than 6 ms in total may cause issues.

Conclusion

Congratulations, you've successfully created a FiveM profile that you can use to identify potential issues. If you have any other questions or need help, our support team is here for you every day! 🙂

Free tools

FiveM Tools

View all

FAQ

Frequently asked questions

Enter the commands 'profiler record 100' and 'profiler view' in the live console. This creates a profile with 100 frames, which you can open using the link in the console.
Resources that take more than 6 ms in total may cause issues.

Feedback

Was this article helpful?

Your feedback helps us prioritize and improve content.

0 of 1 people found this article helpful.

Personal support

Need more help than the guide provides?

Our ZAP-Hosting support team knows your product — briefly describe your issue and we'll help you personally.

Zappy knows this guide and answers you right in the chat.