MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / timeEnd

Method timeEnd

src/utils/Stats.js:12–17  ·  view source on GitHub ↗
(label)

Source from the content-addressed store, hash-verified

10 }
11
12 timeEnd(label) {
13 const elapsed = process.hrtime(this.startTimes[label]);
14
15 if (!this[label]) this[label] = 0;
16 this[label] += elapsed[0] * 1e3 + elapsed[1] * 1e-6;
17 }
18}

Callers 9

appendLeftMethod · 0.80
appendRightMethod · 0.80
moveMethod · 0.80
updateMethod · 0.80
prependLeftMethod · 0.80
prependRightMethod · 0.80
removeMethod · 0.80
resetMethod · 0.80
_splitChunkMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected