---
title: "Performance V2"
description: "Learn how to get even more insights into Android app performance"
url: https://docs.sentry.io/platforms/android/tracing/instrumentation/perf-v2/
---

# Performance V2 | Sentry for Android

Performance V2 contains a set of features that enrich performance instrumentation. It tightly integrates with the [Mobile Vitals](https://docs.sentry.io/product/insights/mobile/mobile-vitals.md) Insights module, enabling [App Start](https://docs.sentry.io/platforms/android/tracing/instrumentation/perf-v2.md#app-start) and [Frames Delay](https://docs.sentry.io/platforms/android/tracing/instrumentation/perf-v2.md#frames-delay) reporting.

Since version 8 of the SDK, Performance V2 is generally available and enabled by default. In versions `7.4.0..<8.0.0`, this feature is available as *experimental* and you need to opt in to use it:

### [Enabling Performance V2](https://docs.sentry.io/platforms/android/tracing/instrumentation/perf-v2.md#enabling-performance-v2)

`MyApplication.java`

```java
import io.sentry.android.core.SentryAndroid;

SentryAndroid.init(this, options -> {

  options.setEnablePerformanceV2(true);

});
```

### [App Start](https://docs.sentry.io/platforms/android/tracing/instrumentation/perf-v2.md#app-start)

Besides enabling Performance V2, this feature requires the [Sentry Android Gradle Plugin](https://docs.sentry.io/platforms/android/configuration/gradle.md) (version `4.2.0` or above) to be applied to your app module.

Once enabled, your App Start transaction will show a detailed span breakdown of various components:

* `process.load`: The process initialization time
* `contentprovider.load`: `ContentProvider.onCreate()` execution time
* `application.load`: `Application.onCreate()` execution time
* `activity.load`: The execution time of your `Activity` lifecycle prior to the first frame being drawn

### [Frames Delay](https://docs.sentry.io/platforms/android/tracing/instrumentation/perf-v2.md#frames-delay)

Frames Delay is the user-perceived delayed duration of rendered frames. The Android SDK automatically attaches this information to every span, giving useful insights and showcasing which spans correlate the most to an impaired user experience. For more technical details about frame delay, head over to our [develop docs](https://develop.sentry.dev/sdk/performance/frames-delay/).
