Skip to Content

The built-in profiler allows you to analyze the performance of your scripts by measuring execution time of different functions and event handlers.

Accessing the Profiler

The profiler can be accessed through the FiveM debug menu or by using the profile console command.

Key Features

Usage Tips

  1. Enable the profiler before running the code you want to analyze
  2. Run your script for a representative period
  3. Stop the profiler and review the results
  4. Focus on functions with the highest total time or most calls

For detailed technical information, see the forum topic  about the profiler.