# CompilationMode.Full

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/CompilationMode.kt+class:androidx.benchmark.macro.CompilationMode.Full) Added in [1.1.0](https://developer.android.com/jetpack/androidx/releases/benchmark#1.1.0)

*** ** * ** ***


```
public final class CompilationMode.Full extends CompilationMode
```

<br />

|---|---|---|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object.html) |||
| ↳ | [androidx.benchmark.macro.CompilationMode](https://developer.android.com/reference/androidx/benchmark/macro/CompilationMode) ||
|   | ↳ | [androidx.benchmark.macro.CompilationMode.Full](https://developer.android.com/reference/androidx/benchmark/macro/CompilationMode.Full) |

*** ** * ** ***

Full ahead-of-time compilation of all method (but not classes) in the target application.

Equates to `cmd package compile -f -m speed <package>` on API 24+.

On Android M (API 23), this is the only supported compilation mode, as all apps are fully compiled ahead-of-time.

## Summary

| ### Public constructors |
|---|
| `https://developer.android.com/reference/androidx/benchmark/macro/CompilationMode.Full#Full()()` |

| ### Public methods |
|---|---|
| `@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/CompilationMode.Full#toString()()` |

## Public constructors

### Full

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

```
public Full()
```

## Public methods

### toString

```
public @NonNull String toString()
```