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

Function timestamp

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

Source from the content-addressed store, hash-verified

7const durations = new Map<string, number>();
8
9function timestamp() {
10 return performance.now();
11}
12
13/**
14 * Marks a performance event, with the given markName.

Callers 2

markFunction · 0.85
measureFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected