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

Function endSection

src/measure-performance.ts:52–55  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

50 * @param name name of the measurement
51 */
52export function endSection(name: string) {
53 mark("end " + name);
54 measure(name, "start " + name, "end " + name);
55}
56
57export function isMeasurementEnabled() {
58 return enabled;

Callers

nothing calls this directly

Calls 2

markFunction · 0.85
measureFunction · 0.85

Tested by

no test coverage detected