# ExperimentalBenchmarkStateApi

Artifact: [androidx.benchmark:benchmark-common](https://developer.android.com/jetpack/androidx/releases/benchmark) [View Source](https://cs.android.com/search?q=file:androidx/benchmark/ExperimentalBenchmarkStateApi.kt+class:androidx.benchmark.ExperimentalBenchmarkStateApi) Added in [1.2.0](https://developer.android.com/jetpack/androidx/releases/benchmark#1.2.0)

*** ** * ** ***


```
@RequiresOptIn
@Retention(value = AnnotationRetention.BINARY)
public annotation ExperimentalBenchmarkStateApi
```

<br />

*** ** * ** ***

Annotation indicating experimental API primarily intended to allow microbenchmarks independent of the BenchmarkRule JUnit4 API.