Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Alsup <matt@thealsups.com>2017-07-28 03:52:39 +0300
committerAnna Henningsen <anna@addaleax.net>2017-08-01 19:45:39 +0300
commit0cf1e224480e9a122bf44346405ee4ee3eac2678 (patch)
treef6a933088ba52d92b9db234bdf7ccc30c405b4ad /benchmark
parent37e55bf5590e40554569aff1bc5778f5ad34d58c (diff)
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')
-rw-r--r--benchmark/_benchmark_progress.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmark/_benchmark_progress.js b/benchmark/_benchmark_progress.js
index 0c5cc10bf8d..ffb2dfdf651 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;
}