adb_regression_baseline
Capture a performance baseline (memory, CPU, frame stats, battery, network) for an Android package and save it to a timestamped JSON file for later regression comparison.
Instructions
Capture a performance baseline for a package: memory, CPU, frame stats, battery, and network state. Saves to a timestamped JSON file for later comparison with adb_regression_check.
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": {
"packageName": "<packageName>"
},
"name": "adb_regression_baseline"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| label | No | Label for this baseline (e.g., 'before-refactor', 'v2.5.0') | baseline |
| device | No | Device serial | |
| packageName | Yes | Package name to profile |