Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ time
Method
time
src/utils/Stats.ts:13–15 ·
view source on GitHub ↗
(label: string)
Source
from the content-addressed store, hash-verified
11
}
12
13
time(label: string): void {
14
this.startTimes[label] = process.hrtime()
15
}
16
17
timeEnd(label: string): void {
18
const
elapsed = process.hrtime(this.startTimes[label])
Callers
10
appendLeft
Method · 0.80
appendRight
Method · 0.80
move
Method · 0.80
update
Method · 0.80
prependLeft
Method · 0.80
prependRight
Method · 0.80
remove
Method · 0.80
reset
Method · 0.80
_split
Method · 0.80
Stats.test.ts
File · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected