Sorry for the silly question, but how should I use profiler.scope_begin, profiler.scope_end? How to see the time elapsed in the scope? In the runtime visual profiler? In the web profiler?
Thank you!
Sorry for the silly question, but how should I use profiler.scope_begin, profiler.scope_end? How to see the time elapsed in the scope? In the runtime visual profiler? In the web profiler?
Thank you!
Yes, the profile should show your scope.
Since there is no concept like RTTI in Lua, you need to make sure to match the begin scope with an end scope.
Thanks @Mathias_Westerdahl!
I have found it in the web profiler but not in the runtime visual profiler. This is well enough for me!
Ciao!