Best way to rate js app response

I have a huge response application with 50 routes and almost 3,000 components. now my question is: how can I check if the application works well? which modules take time. overall indicator of application performance, how to identify.

What are the best tools on the market?

If you need more information, what information do you need, indicate in the comments.

+4
source share
2 answers

I assume that we are talking about testing ReactJS performance , and not about the performance of your application as a whole, since your application will not work optimally due to a ton of random reasons.

You can use Perf to review the overall ReactJS performance of your application . Its profiling tool recommended in the performance tools page in ReactJS white papers. This is a good starting point.

+1
source

I got an error while doing this process .. can anyone know this ??

installed npm install --save-dev react-addons-perf

when iam importing this lib into index.js file 

import Perf from '../../../../node_modules/react-addons-perf';
window.Perf = Perf;

im getting the error called::::

Module not found: Can't resolve 'react-dom/lib/ReactPerf' in 'C:\Users\node_modules\react-addons-perf'
0
source

Source: https://habr.com/ru/post/1677061/


All Articles