Profiling LWC performance
LWC is the newest frontend development framework for the Salesforce platform and is built using modern HTML and JavaScript to provide the best possible performance and web standards compliance. The fact that the framework is built using these standard technologies allows LWC to be analyzed in a way that is much closer to an analysis of regular web pages and other JavaScript frameworks.
The main way, therefore, of profiling LWC is through the use of standard web tools such as the Chrome Developer Tools. The full use of these tools is outside the scope of this book, but Google provides a large amount of training free of charge for these tools. Salesforce has also released an extension for Google Chrome to enhance the developer tools with the Salesforce Lightning Inspector Chrome extension, which can be obtained from the Chrome extensions library.
After installing this tool, you can record the performance of a page containing components to produce a graph...