Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to measure DOM rendering time Angular 2 app?

While I am develping web application using Angular 2, I came to have question about performance test like how to measure loading time in Angular2?. Therefore, I got a very helpful answer, I could start to do performance test. However, I would like to measure DOM rendering time also. My app is very content intensive, the rendering time can be quite a while. If someone knows how to use benchmark.js in order to DOM rendering, could you give some advice?

like image 762
Anna Lee Avatar asked Feb 16 '17 19:02

Anna Lee


1 Answers

Lighthouse is an excellent tool for measuring performance. It powers the "audit" tab in the chrome developer extensions, but can also be run from command-line if needed.

like image 70
jornare Avatar answered Sep 24 '22 18:09

jornare