JS Execution Time Test
tool in developement
About JS Execution Time Test

This test will check the total execution time of the JavaScript code. Reducing the JavaScript execution time, in general, refers to decreasing the amount of time spent to parse, compile and execute the JavaScript code. Improving JavaScript execution time will result in faster page load times, and improved user experience (which Google uses as a factor in its ranking algorithms).

In order to pass this test you have to decrease the JavaScript code execution time. You can do this by:

- implementing code-splitting: split the JavaScript bundle into smaller files so that only the critical code is executed during initial page load.

- removing unused code: unused code can often be inherited from previous versions of your site, and/or imported from other modules that aren't referenced anymore.

- reduce network trips by caching your code with the PRPL pattern: preload the most important resources, render the initial route as soon as possible, pre-cache remaining assets and lazy load other routes and non-critical assets.

- minifying and compressing the JavaScript code