MCPcopy Create free account
hub / github.com/browserify/console-browserify / timeEnd

Function timeEnd

index.js:60–69  ·  view source on GitHub ↗
(label)

Source from the content-addressed store, hash-verified

58}
59
60function timeEnd(label) {
61 var time = times[label]
62 if (!time) {
63 throw new Error("No such label: " + label)
64 }
65
66 delete times[label]
67 var duration = now() - time
68 console.log(label + ": " + duration + "ms")
69}
70
71function trace() {
72 var err = new Error()

Callers

nothing calls this directly

Calls 1

nowFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…