# BaselineProfileResult

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

*** ** * ** ***


```
public final class BaselineProfileResult
```

<br />

*** ** * ** ***

A container for the results of collecting Baseline Profiles using the `https://developer.android.com/reference/androidx/benchmark/macro/package-summary#collect(kotlin.String,kotlin.String,kotlin.Int,kotlin.Int,kotlin.Boolean,kotlin.Boolean,kotlin.Function1,kotlin.Function1)` API.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/benchmark/macro/BaselineProfileResult#BaselineProfileResult(kotlin.collections.List,kotlin.collections.List)( @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html> baselineProfiles, @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html> startupProfiles )` |

| ### Public methods |
|---|---|
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html>` | `https://developer.android.com/reference/androidx/benchmark/macro/BaselineProfileResult#getBaselineProfiles()()` A list of absolute file paths to the generated baseline profiles. |
| `final @https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/util/List.html<@https://developer.android.com/reference/androidx/annotation/NonNull https://developer.android.com/reference/java/lang/String.html>` | `https://developer.android.com/reference/androidx/benchmark/macro/BaselineProfileResult#getStartupProfiles()()` A list of absolute file paths to the generated startup profiles. |

## Public constructors

### BaselineProfileResult

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

```
public BaselineProfileResult(
    @NonNull List<@NonNull String> baselineProfiles,
    @NonNull List<@NonNull String> startupProfiles
)
```

## Public methods

### getBaselineProfiles

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

```
public final @NonNull List<@NonNull String> getBaselineProfiles()
```

A list of absolute file paths to the generated baseline profiles.

### getStartupProfiles

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

```
public final @NonNull List<@NonNull String> getStartupProfiles()
```

A list of absolute file paths to the generated startup profiles.