性能分析
拖入性能分析记录 JSON。数据不会离开你的浏览器。
将 JSON 拖到此处
From profiler record / profiler saveJSON
New: after a first profile loads, drop a second one to compare the two resource by resource.
如何在服务器上录制
- In the server console (txAdmin Live Console works too), start a 500-frame recording:
profiler record 500 - Reproduce the lag while it records (peak time is best).
- When recording finishes, save the result. The file is written next to
run.bat/run.sh:profiler saveJSON profile.json - Drop
profile.jsonon this page.
Guide
How to find what is lagging your FiveM server with the profiler →