Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search is loading slow and consuming a lot of CPU resources › Reply To: Search is loading slow and consuming a lot of CPU resources
Hi,
How do you know it is the search causing issues?
I checked the performance tracker, but the avarage time the search finishes a query is 0.08 seconds, which seems perfectly normal. The memory consumption is okay as well: https://i.imgur.com/lWrQ9Iy.png
You have a decent number of plugins active (48), and navigating on the admin dashboard takes a bit of time. Since the performance tracker reports a significantly lower number for processing the search, than the response time, the bottleneck is more likely caused by one or more plugins – as they are loading during ajax requests as well.
You can also make sure to have the best possible performance, by changing these options:
– Enabling the custom ajax handler: https://i.imgur.com/2w2qVsH.png
This prevents some plugins to load fully, improving the response time.
– Clearing all of the filters, if you are not using them via this plugin: Custom Field and Taxonomy
This optimizes the quers as much as possible.