StartupInsightsConfig


@ExperimentalBenchmarkConfigApi
public final class StartupInsightsConfig


Configuration for Startup Insights.

By passing this object to a MacrobenchmarkRule, you can enable reporting of Startup Insightss - problems patterns discovered during your application startup.

These will be output both in the Studio output report, as well in the Benchmark JSON output file.

Summary

Public constructors

StartupInsightsConfig(boolean isEnabled)

Public methods

final boolean

Set to true to enable reporting of Startup Insights.

Public constructors

StartupInsightsConfig

Added in 1.4.0
public StartupInsightsConfig(boolean isEnabled)

Public methods

isEnabled

Added in 1.4.0
public final boolean isEnabled()

Set to true to enable reporting of Startup Insights.