【问题标题】:Recording performance with Chrome devtools timeline using automation使用 Chrome devtools 时间线自动记录性能
【发布时间】:2016-08-30 04:29:42
【问题描述】:

我目前正在尝试为 Angular 应用程序编写一些有意义的性能测试。我在 e2e 测试中使用量角器,目前正在使用 protractor-perf。虽然它有助于确定存在性能问题,但实际上无法确定导致性能问题的原因。但是,您可以通过使用 chrome devtools 记录时间线/配置文件并检查结果或保存文件以供将来使用来手动识别问题的根源。 我想知道是否有任何方法可以自动记录时间线或配置文件并保存文件以供将来分析?

【问题讨论】:

    标签: angularjs performance google-chrome protractor google-chrome-devtools


    【解决方案1】:

    Paul Irish 的这个存储库:https://github.com/paulirish/automated-chrome-profiling 可能对您有用。它通过 Web Socket 使用Chrome Remote Debugging Protocol interface

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2015-03-19
      • 2016-02-17
      • 1970-01-01
      • 2017-10-26
      • 1970-01-01
      • 2014-06-07
      • 2014-11-01
      • 1970-01-01
      相关资源
      最近更新 更多