Deepak Sharma
Deepak Sharma

Reputation: 1901

Angular performance tracking

What is best and recommended way to track an Angular application performance? I can use many other available techniques/api's like performance.now to track and google analytics/application insight to send custom performance counters.

But my question is do we have something built-in inside Angular for this purpose or a recommend third party module/library that helps to track angular application performance?

Upvotes: 4

Views: 1497

Answers (2)

Will Mendes
Will Mendes

Reputation: 261

I also recommend using the package perf-marks. It's an:

isomorphic, simple, and lightweight solution for User Timing API in Javascript - only 208B used in projects such as Jira, Confluence, and Bitbucket. Tree-shaking and entry points built-in.

Also, you can use it on your browser or NodeJS sides.

https://github.com/willmendesneto/perf-marks

Upvotes: 0

Scott Ayers
Scott Ayers

Reputation: 143

Sounds like you are looking for something like Perfume.js: https://zizzamia.github.io/perfume/#/angular/

It tracks things like First Contentful Paint and First Input Delay for user interaction.

Upvotes: 1

Related Questions