From Dev.to
How Do You Find the Lua Function That Is Actually Costing You Frame Time?
A Lua entry in the top-20 cost list is the start of the investigation, not the answer. Three stack views plus a reversed call tree point you at the leaf function worth fixing. Lua rarely shows up in a...
