2
\$\begingroup\$

Unity Profiler

I'm a little confused about this column shown in the picture above.

When it shows 0.22 does it mean "22 miliseconds" or does it mean a fraction of a milisecond (i.e. in this case, around 1/5 of a milisecond) ?

\$\endgroup\$

1 Answer 1

3
\$\begingroup\$

The time is the time taken, during a single frame, in milliseconds. 0.22 ms is 220 microseconds. For reference, if you want 60 frames per second, you cannot spend more than 1000/60 = 16.67 ms per frame.

You can click on the graph above to select a specific frame, which is useful to see what happens if you have some lag "spikes", for example when a new player joins the game, or you transition between different screens.

\$\endgroup\$
1
  • \$\begingroup\$ @Peter Thanks, that was a very detailed answer! (my apologies for taking so long to mark as "accepted", I had forgotten about it and I don't log in frequently!) \$\endgroup\$ Commented Mar 17, 2018 at 18:24

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.