如何衡量 Angular 应用程序的性能?

Den*_*nis 5 performancecounter angular

有多种方法可以测量 AngularJs 应用程序的性能(如何测量 AngularJS 应用程序的摘要周期的性能?)。Angular 应用程序怎么样?我们在 Angular 内部有用于此目的的东西吗?或者第三方库?

Suh*_*han 1

您可以使用chrome lighthouse工具来测量您的应用程序性能参数,

这里的链接演示了如何使用 https://developers.google.com/web/tools/lighthouse/

WebPageTest 也是一个非常好的工具,它使用真实的浏览器(IE 和 Chrome)在全球多个位置以真实的消费者连接速度执行网站速度测试 https://www.webpagetest.org/