MCPcopy Index your code
hub / github.com/nodejs/node / startQueue

Method startQueue

benchmark/_benchmark_progress.js:44–54  ·  view source on GitHub ↗
(index)

Source from the content-addressed store, hash-verified

42 }
43
44 startQueue(index) {
45 this.kStartOfQueue = index;
46 this.currentFile = this.queue[index].filename;
47 this.interval = setInterval(() => {
48 if (this.completedRuns === this.scheduledRuns) {
49 clearInterval(this.interval);
50 } else {
51 this.updateProgress();
52 }
53 }, 1000);
54 }
55
56 startSubqueue(data, index) {
57 // This subqueue is generated by a new benchmark

Callers 1

compare.jsFile · 0.80

Calls 3

updateProgressMethod · 0.95
clearIntervalFunction · 0.85
setIntervalFunction · 0.50

Tested by

no test coverage detected