Browse Source

benchmark: remove unused parameters

Functions completeConfig, completeRun, and
updateProgress had unused parameters. These
were removed.

PR-URL: https://github.com/nodejs/node/pull/14526
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
v6
Matthew Alsup 8 years ago
committed by Rich Trott
parent
commit
859ccd78b5
  1. 6
      benchmark/_benchmark_progress.js

6
benchmark/_benchmark_progress.js

@ -65,12 +65,12 @@ class BenchmarkProgress {
this.updateProgress();
}
completeConfig(data) {
completeConfig() {
this.completedConfig++;
this.updateProgress();
}
completeRun(job) {
completeRun() {
this.completedRuns++;
this.updateProgress();
}
@ -108,7 +108,7 @@ class BenchmarkProgress {
`${caption} `;
}
updateProgress(finished) {
updateProgress() {
if (!process.stderr.isTTY || process.stdout.isTTY) {
return;
}

Loading…
Cancel
Save