MCPcopy
hub / github.com/webpack/webpack / time

Method time

lib/logging/Logger.js:163–167  ·  view source on GitHub ↗

* Processes the provided label. * @param {string} label label

(label)

Source from the content-addressed store, hash-verified

161 * @param {string} label label
162 */
163 time(label) {
164 /** @type {TimersMap} */
165 this[TIMERS_SYMBOL] = this[TIMERS_SYMBOL] || new Map();
166 this[TIMERS_SYMBOL].set(label, process.hrtime());
167 }
168
169 /**
170 * Processes the provided label.

Callers 15

onCompiledMethod · 0.80
_doneMethod · 0.80
finalCallbackMethod · 0.80
getBlockModulesFunction · 0.80
visitModulesFunction · 0.80
buildChunkGraphFunction · 0.80
finishMethod · 0.80
sealMethod · 0.80
contMethod · 0.80
createHashMethod · 0.80
processChunkMethod · 0.80

Calls 1

setMethod · 0.45

Tested by 1

applyMethod · 0.64