Update benchmarking dependencies

This commit is contained in:
arkon
2023-07-29 22:48:56 -04:00
parent f7b335e4fb
commit 5718983f41
5 changed files with 34784 additions and 20050 deletions

View File

@ -1,19 +1,17 @@
package tachiyomi.macrobenchmark
import androidx.benchmark.macro.ExperimentalBaselineProfilesApi
import androidx.benchmark.macro.junit4.BaselineProfileRule
import androidx.test.uiautomator.By
import org.junit.Rule
import org.junit.Test
@OptIn(ExperimentalBaselineProfilesApi::class)
class BaselineProfileGenerator {
@get:Rule
val baselineProfileRule = BaselineProfileRule()
@Test
fun generate() = baselineProfileRule.collectBaselineProfile(
fun generate() = baselineProfileRule.collect(
packageName = "eu.kanade.tachiyomi.benchmark",
profileBlock = {
pressHome()