PageSpeed: Reduce JavaScript Execution Time

back to issues overview

Reduce JavaScript Execution Time

Pages with average or slow JavaScript execution time (over 2 seconds). When JavaScript takes a long time to execute, it slows down page performance.

How to Analyse in the SEO Spider

To populate this filter the PageSpeed Insights API must be connected via ‘Config > API Access > PSI’.

View URLs with this issue in the ‘PageSpeed’ tab and filter and use the lower ‘PageSpeed Details’ tab to click on the issue on the left-hand side, and see details of JavaScript timings on the right-hand side.

Bulk export the pages and details via ‘Reports > PageSpeed > Reduce JavaScript Execution Time’.

What Triggers This Issue

This issue is triggered when pages have an average or slow JavaScript execution time, exceeding 2 seconds.

How To Fix

Consider reducing the time spent parsing, compiling and executing JS. Smaller JS payloads may help improve page load speed.

Further Reading

Back to top