Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/observablehq/framework
/ formatElapsed
Function
formatElapsed
src/loader.ts:571–574 ·
view source on GitHub ↗
(start: number)
Source
from the content-addressed store, hash-verified
569
]);
570
571
function
formatElapsed(start: number): string {
572
const
elapsed = performance.now() - start;
573
return
`${Math.floor(elapsed)}ms`;
574
}
Callers
1
load
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected