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

Method updateProgress

benchmark/_benchmark_progress.js:109–116  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

107 }
108
109 updateProgress() {
110 if (!process.stderr.isTTY || process.stdout.isTTY) {
111 return;
112 }
113 readline.clearLine(process.stderr);
114 readline.cursorTo(process.stderr, 0);
115 process.stderr.write(this.getProgress());
116 }
117}
118
119module.exports = BenchmarkProgress;

Callers 4

startQueueMethod · 0.95
startSubqueueMethod · 0.95
completeConfigMethod · 0.95
completeRunMethod · 0.95

Calls 4

getProgressMethod · 0.95
cursorToMethod · 0.80
clearLineMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected