# StartupInsightsConfig

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

*** ** * ** ***


```
@ExperimentalBenchmarkConfigApi
class StartupInsightsConfig
```

<br />

*** ** * ** ***

Configuration for Startup Insights.

By passing this object to a `MacrobenchmarkRule`, you can enable reporting of Startup `https://developer.android.com/reference/kotlin/androidx/benchmark/traceprocessor/Insight`s - problems patterns discovered during your application startup.

c, as well in the Benchmark JSON output file.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/kotlin/androidx/benchmark/StartupInsightsConfig#StartupInsightsConfig(kotlin.Boolean)(isEnabled: https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html)` |

| ### Public properties |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-boolean/index.html` | `https://developer.android.com/reference/kotlin/androidx/benchmark/StartupInsightsConfig#isEnabled()` Set to true to enable reporting of Startup Insights. |

## Public constructors

### StartupInsightsConfig

Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/benchmark#1.4.0)

```
StartupInsightsConfig(isEnabled: Boolean)
```

## Public properties

### isEnabled

Added in [1.4.0](https://developer.android.com/jetpack/androidx/releases/benchmark#1.4.0)

```
val isEnabled: Boolean
```

Set to true to enable reporting of Startup Insights.