diff options
author | Matthew Alsup <matt@thealsups.com> | 2017-07-27 19:52:39 -0500 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2017-07-31 19:33:18 -0700 |
commit | 859ccd78b56dda4a3952e35a0a414db44fe126cf (patch) | |
tree | 3ba0121cda31eb5cebcb26b0c5e86242c1c5e5cd /benchmark/_benchmark_progress.js | |
parent | b8e0a5ea23e536fe24e94f1d460aaeadb8839e76 (diff) | |
download | android-node-v8-859ccd78b56dda4a3952e35a0a414db44fe126cf.tar.gz android-node-v8-859ccd78b56dda4a3952e35a0a414db44fe126cf.tar.bz2 android-node-v8-859ccd78b56dda4a3952e35a0a414db44fe126cf.zip |
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>
Diffstat (limited to 'benchmark/_benchmark_progress.js')
-rw-r--r-- | benchmark/_benchmark_progress.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/_benchmark_progress.js b/benchmark/_benchmark_progress.js index 0c5cc10bf8..ffb2dfdf65 100644 --- a/benchmark/_benchmark_progress.js +++ b/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; } |