Title: Reduce JavaScript execution time
Last modified: September 26, 2019

---

# Reduce JavaScript execution time

 *  Resolved [Skahle](https://wordpress.org/support/users/skahle/)
 * (@skahle)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/reduce-javascript-execution-time/)
 * I am using AutoPtimize and Pagespeed Insighs tell me:
 * >  Reduce JavaScript execution time 2.4 s
   > Consider reducing the time spent parsing, compiling, and executing JS. You 
   > may find delivering smaller JS payloads helps with this
 * What can be done about this? Doesn’t AO address this?
    -  This topic was modified 6 years, 10 months ago by [Skahle](https://wordpress.org/support/users/skahle/).
    -  This topic was modified 6 years, 10 months ago by [Skahle](https://wordpress.org/support/users/skahle/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Freduce-javascript-execution-time%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/reduce-javascript-execution-time/#post-11969974)
 * No, AO combines and minifies (removing whitespace and such things) your JavaScript,
   but it doesn’t remove any JS. The only way to tackle this recommendation is reducing
   the amount of JavaScript (code) for which you’ll have to review all plugins (
   that add JS) used and reconsider if you really need them. 2 types of plugins 
   that typically add a lot of JS are pagebuilders and plugins that put WordPres
   blocks (Gutenberg) on the front-end.
 * hope this helps,
    frank
 *  Thread Starter [Skahle](https://wordpress.org/support/users/skahle/)
 * (@skahle)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/reduce-javascript-execution-time/#post-11971887)
 * Thank, but I don’t know how that can be practically done.
 * What is Category “Script Evaluation”? It is taking 3,094 ms on my homepage
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [6 years, 10 months ago](https://wordpress.org/support/topic/reduce-javascript-execution-time/#post-11972331)
 * recheck your pagespeed result with your URL with `?ao_noptimize=1` added to the
   URL to see more detailed info on what specific plugin (JS) is taking time to 
   evaluate/ execute maybe?
 * frank

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Reduce JavaScript execution time’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [6 years, 10 months ago](https://wordpress.org/support/topic/reduce-javascript-execution-time/#post-11972331)
 * Status: resolved