mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 12:57:04 +05:30
fix(benchmark): simplify
This commit is contained in:
parent
058561e4d6
commit
350a64d479
3 changed files with 3 additions and 2 deletions
|
@ -50,7 +50,7 @@ class BaselineProfileBenchmark {
|
|||
startupMode = StartupMode.COLD,
|
||||
compilationMode = compilationMode
|
||||
) {
|
||||
exploreUI(device)
|
||||
startActivityAndWait()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -31,6 +31,6 @@ class BaselineProfileGenerator {
|
|||
packageName = PACKAGE_NAME,
|
||||
maxIterations = 5,
|
||||
) {
|
||||
exploreUI(device)
|
||||
startActivityAndWait()
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,6 +19,7 @@ private const val NAV_ID_NEWEST = "NEWEST"
|
|||
private const val NAV_ID_SAVED = "SAVED"
|
||||
private const val COMMENT_BUTTON_DESC = "Open comments"
|
||||
|
||||
@Suppress("Unused")
|
||||
fun MacrobenchmarkScope.exploreUI(device: UiDevice) {
|
||||
startActivityAndWait()
|
||||
device.run {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue