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>
This commit is contained in:
Matthew Alsup authored and Rich Trott committed 2017-07-31 19:33:18 -07:00
1 parent b8e0a5ea23
commit 859ccd78b5
1 file changed
+3 -3
+3 -3
View File
@@ -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;
}