mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 01:17:05 +05:30
benchmark: annotate test sizes for filtering
This commit is contained in:
parent
98734d01fd
commit
3050df7d64
2 changed files with 4 additions and 0 deletions
|
@ -5,9 +5,11 @@ import androidx.benchmark.macro.CompilationMode
|
|||
import androidx.benchmark.macro.StartupMode
|
||||
import androidx.benchmark.macro.StartupTimingMetric
|
||||
import androidx.benchmark.macro.junit4.MacrobenchmarkRule
|
||||
import androidx.test.filters.LargeTest
|
||||
import org.junit.Rule
|
||||
import org.junit.Test
|
||||
|
||||
@LargeTest
|
||||
class BaselineProfileBenchmark {
|
||||
@get:Rule val benchmarkRule = MacrobenchmarkRule()
|
||||
|
||||
|
|
|
@ -2,6 +2,7 @@ package dev.msfjarvis.claw.benchmark
|
|||
|
||||
import androidx.benchmark.macro.ExperimentalBaselineProfilesApi
|
||||
import androidx.benchmark.macro.junit4.BaselineProfileRule
|
||||
import androidx.test.filters.MediumTest
|
||||
import androidx.test.platform.app.InstrumentationRegistry
|
||||
import androidx.test.uiautomator.UiDevice
|
||||
import org.junit.Before
|
||||
|
@ -9,6 +10,7 @@ import org.junit.Rule
|
|||
import org.junit.Test
|
||||
|
||||
@ExperimentalBaselineProfilesApi
|
||||
@MediumTest
|
||||
class BaselineProfileGenerator {
|
||||
@get:Rule val baselineProfileRule = BaselineProfileRule()
|
||||
private lateinit var device: UiDevice
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue