ExperimentalConfig


@ExperimentalBenchmarkConfigApi
public final class ExperimentalConfig


Experimental configuration options for a benchmark.

Currently used to override the default PerfettoConfig, or to enable Startup Insightss.

Summary

Public constructors

ExperimentalConfig(
    PerfettoConfig perfettoConfig,
    StartupInsightsConfig startupInsightsConfig
)

Public methods

final PerfettoConfig

The PerfettoConfig for the benchmark - null to use the default config.

final StartupInsightsConfig

The StartupInsightsConfig for the benchmark - null to not enable insights reporting.

Public constructors

ExperimentalConfig

Added in 1.4.0
public ExperimentalConfig(
    PerfettoConfig perfettoConfig,
    StartupInsightsConfig startupInsightsConfig
)

Public methods

getPerfettoConfig

Added in 1.4.0
public final PerfettoConfig getPerfettoConfig()

The PerfettoConfig for the benchmark - null to use the default config.

getStartupInsightsConfig

Added in 1.4.0
public final StartupInsightsConfig getStartupInsightsConfig()

The StartupInsightsConfig for the benchmark - null to not enable insights reporting.