app_perf
Measure an Android app's memory, CPU, and frame-rendering performance; reset frame stats to isolate activity between calls.
Instructions
An app's memory (PSS summary from meminfo), frame rendering stats (jank percentage and frame time percentiles from gfxinfo) and CPU use. reset_frames clears the frame stats afterwards, so the next call measures only what happens in between.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"package": "<package>"
},
"name": "app_perf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | ||
| reset_frames | No |