# 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)

*** ** * ** ***


```
class CompilationMode.Full : CompilationMode
```

<br />

|---|---|---|
| [kotlin.Any](https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-any/index.html) |||
| ↳ | [androidx.benchmark.macro.CompilationMode](https://developer.android.com/reference/kotlin/androidx/benchmark/macro/CompilationMode) ||
|   | ↳ | [androidx.benchmark.macro.CompilationMode.Full](https://developer.android.com/reference/kotlin/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/kotlin/androidx/benchmark/macro/CompilationMode.Full#Full()()` |

| ### Public functions |
|---|---|
| `open https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html` | `https://developer.android.com/reference/kotlin/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)

```
Full()
```

## Public functions

### toString

```
open fun toString(): String
```