id summary reporter owner description type status priority milestone component version severity resolution keywords cc focuses 46469 wp_script_is() is super slow superdav42 SergeyBiryukov "Because of the `WP_Dependencies::query()` recursively transverses scripts' dependencies plugins checking if a script handle has been registered using `wp_script_is()` can be very slow if scripts are registered with more complex dependencies. This will become more of a problem as more plugins start implementing Gutenberg blocks and register scripts with dependencies on Gutenberg components. As an example this simple plugin will show how the slow down can happen: {{{#!php