androidperformanceandroid-manifestmacrobenchmark

Is <profileable> safe in the production build?


For using macrobenchmark, we need to add <profileable> to AndroidManifest.

<profileable
    android:shell="true"
    tools:targetApi="q" />

Is it safe to include <profileable> in the production build?


Solution

  • It is considered safe. It exposes only limited amount of information that are either obfuscated or lacking symbols in the release build. Some of the Google apps are using it in production.