美文网首页
Android Monkey笔记

Android Monkey笔记

作者: Viking_Den | 来源:发表于2016-09-19 21:01 被阅读19次
    • Monkey中伪随机和随机事件的区别?
      Monkey中伪随机其实就是事件的执行序列不是重复的,而随机事件就像是抛硬币,有一定的概率出现重复。
    • Monkey压力测试参数
      其实主要分为三部分:
      1、基础参数:-V ,-S ,--throttle,-p
      2、事件类型参数:--pct-touch,--pct-motion,--pct-trackball,--pct-nav,--pct-syskeys,--pct-anyevent
      3、调试选项:--hprof,--ignore-crashes,--ignore-timeouts,--ignore-security-exceptions,--kill-process-after-error,--monitor-native-crashes
      具体各个参数的含义,见官方文档:
    Monkey Arguments.png

    参考资料:
    https://developer.android.com/studio/test/monkey.html

    相关文章

      网友评论

          本文标题:Android Monkey笔记

          本文链接:https://www.haomeiwen.com/subject/cspnettx.html