MCPcopy Index your code
hub / github.com/TypeScriptToLua/TypeScriptToLua / getTotalDuration

Function getTotalDuration

src/measure-performance.ts:79–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77}
78
79export function getTotalDuration() {
80 let total = 0;
81 forEachMeasure((_, duration) => (total += duration));
82 return total;
83}

Callers

nothing calls this directly

Calls 1

forEachMeasureFunction · 0.85

Tested by

no test coverage detected