(label)
| 58 | } |
| 59 | |
| 60 | function 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 | |
| 71 | function trace() { |
| 72 | var err = new Error() |
nothing calls this directly
no test coverage detected
searching dependent graphs…