adb shell monkey -p <pkg> --throttle 500 1000 命令详解

限速压力测试(每事件间隔 500ms)

命令语法

adb shell monkey -p <pkg> --throttle 500 1000注意

限速压力测试(每事件间隔 500ms)

示例

$ adb shell monkey -p com.example.demo --throttle 500 1000

adb shell monkey -p <pkg> --throttle 500 1000 用法说明

adb shell monkey -p <pkg> --throttle 500 1000 是「高级调试」分类下的常用命令,作用是:限速压力测试(每事件间隔 500ms)。

典型用法如下:adb shell monkey -p com.example.demo --throttle 500 1000。你可以复制到终端直接运行,或查看下方同组的相关命令。

常见问题解答

adb shell monkey -p <pkg> --throttle 500 1000 是什么?
adb shell monkey -p <pkg> --throttle 500 1000 用于限速压力测试(每事件间隔 500ms),属于「高级调试」相关命令。
adb shell monkey -p <pkg> --throttle 500 1000 怎么用?
在终端执行 adb shell monkey -p com.example.demo --throttle 500 1000 即可,具体参数请按实际环境调整。
还有哪些相关命令?
「高级调试」分类下还有 13 条相关命令,见下方「相关命令」。