Skip to content

Commit 949c391

Browse files
Abduqodiri Qurbonzodaqurbonzoda
authored andcommitted
Remove unused reporter parameter of SuiteExecutor.run()
1 parent 8d2b95f commit 949c391

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

runtime/commonMain/src/kotlinx/benchmark/SuiteExecutor.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ abstract class SuiteExecutor(val executionName: String, arguments: Array<out Str
3434
} as List<BenchmarkDescriptor<Any?>>
3535
}
3636

37-
run(config, reporter, benchmarks, { reporter.startSuite(executionName) }) {
37+
run(config, benchmarks, { reporter.startSuite(executionName) }) {
3838
val summary = TextBenchmarkReportFormatter.format(results)
3939
reporter.endSuite(executionName, summary)
4040
saveReport(config.reportFile, reportFormatter.format(results))
@@ -47,7 +47,6 @@ abstract class SuiteExecutor(val executionName: String, arguments: Array<out Str
4747

4848
abstract fun run(
4949
runnerConfiguration: RunnerConfiguration,
50-
reporter: BenchmarkProgress,
5150
benchmarks: List<BenchmarkDescriptor<Any?>>,
5251
start: () -> Unit,
5352
complete: () -> Unit

runtime/jsMain/src/kotlinx/benchmark/js/JsExecutor.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ class JsExecutor(name: String, @Suppress("UNUSED_PARAMETER") dummy_args: Array<o
1010

1111
override fun run(
1212
runnerConfiguration: RunnerConfiguration,
13-
reporter: BenchmarkProgress,
1413
benchmarks: List<BenchmarkDescriptor<Any?>>,
1514
start: () -> Unit,
1615
complete: () -> Unit

runtime/nativeMain/src/kotlinx/benchmark/native/NativeExecutor.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,6 @@ class NativeExecutor(name: String, args: Array<out String>) : SuiteExecutor(name
168168

169169
override fun run(
170170
runnerConfiguration: RunnerConfiguration,
171-
reporter: BenchmarkProgress,
172171
benchmarks: List<BenchmarkDescriptor<Any?>>,
173172
start: () -> Unit,
174173
complete: () -> Unit

0 commit comments

Comments
 (0)