F
F
faragly2015-07-23 16:37:29
Angular
faragly, 2015-07-23 16:37:29

How to measure the performance of AngularJS code before and after optimization?

Hello! Yesterday a post appeared on Habré , after reading which, I wanted to try to make some changes to a small code to improve performance. In fact, I just want to see in numbers (milliseconds, number of watches, etc.) the difference before and after any changes in a real example. How to measure this, is it automated or do I need to manually take measurements and output to the console?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey, 2015-07-23
Protko @Fesor

Browser profiler.
I haven't read the article, but I suspect it's about minor optimizations.
Pretty bad advice, you can only do this inside an isolated directive and only if you know what you are doing.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question