MCPcopy Create free account
hub / github.com/babel/minify / push

Method push

scripts/plugin-timing.js:23–30  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

21 this.diff = diff;
22 }
23 push(name) {
24 if (!hop(this.events, name)) {
25 this.events[name] = [];
26 this.visits[name] = 0;
27 }
28 this.events[name].push(this.now());
29 this.visits[name]++;
30 }
31 pop(name) {
32 if (hop(this.events, name) && this.events[name].length > 0) {
33 const start = this.events[name].shift();

Callers 15

addSuccessfullyMethod · 0.80
addSuccessfullyMethod · 0.80
addSuccessfullyMethod · 0.80
addSuccessfullyMethod · 0.80
actual.jsFile · 0.80
handleArgsFunction · 0.80
index.jsFile · 0.80
convertFunction · 0.80
customTypeAnnotationFunction · 0.80
bfs-traverse.jsFile · 0.80
oFunction · 0.80

Calls 1

hopFunction · 0.70

Tested by 4

oFunction · 0.64
iFunction · 0.64
segmentFunction · 0.64
lineFunction · 0.64