About profiling

I have a question.
I need to know how much time part of the game takes.
The built-in profiler shows the information, but i can not understand it, because there is no detailed description or manual about it.


What does this all mean?

We need such data (for a single frame averaged):

  • how much time is used to execute lua
  • how much time is used to build a sprite batches (and geometry)
  • how much time is used to calculate Spine animations
  • how much time is used to rendering (directly Drawcalls)
    How do we find out all of this?

Check out the web profiler. It allows you to sample over several frames and dig into specific scopes.

See https://www.defold.com/manuals/debugging/#_web_profiler

2 Likes