+2 votes

I'm quite a heavy code to simulate biological cells that multiply in 3D, and I'm using the Profiler Debugger to find code to optimize. I'm overall really pleased with the tool.

It caught my attention that the Frame Time on top, didn't (at least on one occasion) not sum up to the time under it. I would not have raised an eye if the difference was negligible (obviously there is some behind-the-scenes that isn't accounted for), but the difference was striking:

Frame Time = 7.46842 sec

My manual summation of all other process times = 4.87851 sec

Hence around 2.6 seconds were unaccounted for. This is per frame, so it's a lot of time.

Any ideas what's going on...?

Below are screenshots of the profiler. Note that the top of a consecutive image is the same as the bottom of a prior image to demonstrate that no process has been omitted.

enter image description here
enter image description here
enter image description here

in Engine by (140 points)

Please log in or register to answer this question.

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 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.