Log inGet started
World

Builtin Library

Branchmain
Branchesmainpublish
Commit65083fe8f2

README.md

scene.cost

Which loaded scene is costing the frame time. Ranks every loaded layer by what its entrypoint's update / editorUpdate costs, timed where the tick runs and attributed to the layer that owns it — the answer to "the scene is slow and the profiler's script rows do not account for it", because a scene entrypoint's per-frame tick is not a component and does not appear among them. totalMs is a sum across the window since the last reset (or engine start) and avgMs is the per-tick cost, which is the per-frame cost for a tick that runs every frame. Answers in edit mode as well as play.