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:
parent
b8e0a5ea23
commit
859ccd78b5
@ -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…
x
Reference in New Issue
Block a user