Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion benchmark/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">

<queries>
<package android:name="io.getstream.video.android.dogfooding" />
<package android:name="io.getstream.video.android" />
</queries>
</manifest>
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

package io.getstream.video.android.benchmark

import androidx.benchmark.macro.ExperimentalStableBaselineProfilesApi
import androidx.benchmark.macro.junit4.BaselineProfileRule
import androidx.test.uiautomator.By
import androidx.test.uiautomator.BySelector
Expand All @@ -26,14 +25,13 @@ import androidx.test.uiautomator.Until
import org.junit.Rule
import org.junit.Test

@ExperimentalStableBaselineProfilesApi
internal class BaselineProfileGenerator {
@get:Rule
internal val baselineProfileRule = BaselineProfileRule()

@Test
fun startup() =
baselineProfileRule.collectStableBaselineProfile(
baselineProfileRule.collectBaselineProfile(
packageName = packageName,
stableIterations = 2,
maxIterations = 8,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@

package io.getstream.video.android.benchmark

internal const val packageName = "io.getstream.video.android.dogfooding"
internal const val packageName = "io.getstream.video.android"
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ streamPush = "1.1.1"
androidxTest = "1.5.2"
androidxTestCore = "1.5.0"
androidxProfileinstaller = "1.3.1"
androidxMacroBenchmark = "1.2.0-alpha13"
androidxMacroBenchmark = "1.2.0-alpha15"
androidxUiAutomator = "2.3.0-alpha03"
androidxContraintLayout = "2.1.4"
androidxEspresso = "3.5.1"
Expand Down