M
M
Mariik2018-04-30 16:21:42
JavaScript
Mariik, 2018-04-30 16:21:42

How to test how much memory/processor time a particular library consumes inside an angular application?

Hello.
Given: An Angular application inside which uses a lib based on RxJS. I have a suspicion that this lib is spending resources too uneconomically. How can I test how much this particular library consumes resources? Not a browser tab and not the entire application, but specifically this library?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nicholas, 2018-04-30
@healqq

On the performance tab in chrome dev tools, you can see how long a particular piece of code is running, on the memory tab, you can take snapshots, there will also be statistics for each type of object

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question