Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
7
const
durations =
new
Map<string, number>();
8
9
function
timestamp() {
10
return
performance.now();
11
}
12
13
/**
14
* Marks a performance event, with the given markName.
Callers
2
mark
Function · 0.85
measure
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected