Android benchmark added log after each run (#3036)

This commit is contained in:
Alex Cristici
2024-11-21 20:17:27 +02:00
committed by GitHub
parent d282b3ba6b
commit a44bcb1dbd

View File

@@ -213,6 +213,7 @@ class BenchmarkActivity : AppCompatActivity() {
val benchmarkPair = Pair(benchmarkRun, benchmarkRunResult)
// don't store results for fast run
if (i != 0) benchmarkResult.runs.add(benchmarkPair)
println(jsonPayload(BenchmarkResult(arrayListOf(benchmarkPair))))
}
}