Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Rich-Harris/magic-string
/ time
Method
time
src/utils/Stats.js:8–10 ·
view source on GitHub ↗
(label)
Source
from the content-addressed store, hash-verified
6
}
7
8
time(label) {
9
this.startTimes[label] = process.hrtime();
10
}
11
12
timeEnd(label) {
13
const
elapsed = process.hrtime(this.startTimes[label]);
Callers
9
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
Calls
no outgoing calls
Tested by
no test coverage detected