Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/theajack/disable-devtool
/ calculateTime
Function
calculateTime
src/utils/util.ts:7–11 ·
view source on GitHub ↗
(func: Function)
Source
from the content-addressed store, hash-verified
5
}
6
7
export
function
calculateTime (func: Function) {
8
const
start = now();
9
func();
10
return
now() - start;
11
}
12
13
export
function
getUrlParam (name: string) {
14
let
{search} = window.location;
Callers
1
detect
Method · 0.90
Calls
1
now
Function · 0.85
Tested by
no test coverage detected