MCPcopy Index your code
hub / github.com/developit/optimize-plugin / end

Function end

src/lib/util.js:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75 };
76
77 const end = name => {
78 for (const entry of timings) {
79 if (entry.name === name) {
80 entry.end = Date.now();
81 entry.duration = entry.end - entry.start;
82 return;
83 }
84 }
85 };
86
87 return {
88 timings,

Callers 2

optimizeMethod · 0.85
processFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected