Lines Matching refs:profiling
1 # Android application profiling
8 2. Record profiling data.
9 3. Report profiling data.
14 - [Android application profiling](#android-application-profiling)
17 - [Record and report profiling data](#record-and-report-profiling-data)
25 - [Parse profiling data manually](#parse-profiling-data-manually)
30 Based on the profiling situation, we may need to customize the build script to generate an apk file
31 specifically for profiling. Below are some suggestions.
48 a released app profileable by preinstalled profiling tools. In this case, simpleperf downloaded by
61 Step 1: Add android::debuggable="true" in AndroidManifest.xml to enable profiling.
101 Android studio strips symbol table and debug info of native libraries in the apk. So the profiling
109 On Android >= P, simpleperf supports profiling Java code, no matter whether it is executed by
112 On Android O, simpleperf supports profiling Java code which is compiled into native instructions,
116 On Android N, simpleperf supports profiling Java code that is compiled into native instructions.
119 On Android <= M, simpleperf doesn't support profiling Java code.
123 It builds an app-profiling.apk for profiling.
134 $ adb install -r app/build/outputs/apk/profiling/app-profiling.apk
137 ## Record and report profiling data
152 This will collect profiling data in perf.data in the current directory, and related native
155 Normally we need to use the app when profiling, otherwise we may record no samples. But in this
156 case, the MixActivity starts a busy thread. So we don't need to use the app while profiling.
173 [report.py](scripts_reference.md#reportpy) reports profiling data in stdio interface. If there
218 We can use [report_html.py](scripts_reference.md#report_htmlpy) to show profiling results in a web …
306 recording, a profiling data file is generated.
308 3. Run `api_profiler.py collect -p <package_name>` to collect profiling data files to host.
313 ## Parse profiling data manually
315 We can also write python scripts to parse profiling data manually, by using