0 votes

I am starting to profile my game in order to prevent periodic frame drops, but I need help interpretting the data.

I notice that sometimes my player's _physics_process() method, and some of the other methods which this method calls, are called twice per frame, causing spikes in the profile.

enter image description here

Why might that be? Is this unusual?

When looking at the FPS monitor graph, I'm also noticing very volatile FPS. Could this be the cause?

in Engine by (1,575 points)

1 Answer

0 votes

I know the answer come a little late. But the profiler in Godot is quite powerful, and this video will definitely helps you.

https://youtu.be/-b1dylw9v2o

enter image description here

by (128 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.