Where can i find the list of Max and Min execution time of wordpress plugin's and APIs?

I have surfed the web looking for the list of the execution time of WordPress plugins, Apis and themes. I have a scenario in which my client is using WPengine as their host and they don't want to exceed the best execution time offered by Wpengine which is 60 seconds. I'm using Avada theme which recommends execution time 300 seconds. Know I'm not familiar with many WP APIs, theme and plugin, therefore, I was looking for a list which displays recommended execution time, or someone can share their experience with their execution time.

Solutions

It is very unlikely that you are going to be able to find this information, and if you do, it is likely to be very inaccurate given that execution time is dependent on many different factors that can't be controlled for across users / hosts / environments. However, 60 seconds is a generous time limit - the default for PHP is 30 seconds. Note that this limit is for how long the server takes to generate the response, not how long the page takes to load. For example, a website might take 1 second to execute PHP in response to a website GET request, but the browser might take 120 seconds to fully load the page that the server responds with. If your server takes longer than 60 seconds to process your PHP in response to just a normal web request, you very likely have other very serious issues.

It seems like the main reason why the Avada theme is asking for 300 seconds is for the ability to bulk load the demo content , which is probably doing something like downloading a ZIP file, unzipping it, and processing the content. This should only have to be done once, and you should be able to get around it by manually importing via FTP.

Typically this limit is only an issue for things like that; importing or exporting lots of large files, loading lots of content at one page (for example, if you set posts per page in wordpress to 1000), etc. Or bad code - a FOR() loop that never exits should have an execution time of "infinity".

Similar questions

How to find and edit custom endpoints. In wordpress rest apis
I'm using this WooCommerce Rest API to get products for my mobile app. I use this API "wp-json/wc/v3/products/344" to get a product. On response I got below objects: I can't find where I have to change it on WooCommerce folder. How can I put this objects into an array?
Change daily execution to hourly execution in PHP
I asked this question before, but asked it in a unclear way, so I am trying again. I am trying to get this PHP to execute hourly instead of daily. It's a wordpress plugin that imports RSS feeds. It's GPL. I just have cheap hosting so I don't have access to command line/ cron on the server. I have searched here and found this post: PHP Running an ho...
Yii, how do I end Yii app execution without ending PHP script execution
I'm currently writing an app as a plugin to wordpress and hence I need some unconventional solutions.. Currently my problem is that when Yii gets an error it throws the error at its error handler and then it exits PHP execution. Shouldn't there be a way to sandbox Yii to make it only quit it's own execution and let the external code continue? In my...
Wait for JQuery execution until whole page is loaded breaks execution
I have a JQuery script to load a newsletter subscription popup window after the users scrolls down a certain amount of pixels using the jQuery .scroll/.scrollTop function. At the moment it's all encapsulated within The problem is the usual caching and images issue and the subscription box pops up all over the place. I was reading about delaying jQu...
How can I get Min and Max price of a woocommerce variable product in Custom loop?
I've created a custom rest route in Wordpress which takes a product category id and will send products which are in that category. My Problem is I can't figure out a way to get variable product min and max prices inside my custom loop. Can anyone help me with this issue? Thanks I've tried to get variation price using get_variation_prices() but it s...
PHP get "min, max, step and value" variables from plugin to quantity box Woocommerce
I have the Woocommerce Advanced Quantity plugin which gives me the possibility to have a different min, max, increasing step quantity, and default quantity for each product. My new theme has the quantity box on the shop page and it is not getting the values from the plugin. It is set aways as default min: 1 step: 1 value: 1. I need to adapt the the...

Also ask

We use cookies to deliver the best possible experience on our website. By continuing to use this site, accepting or closing this box, you consent to our use of cookies. To learn more, visit our privacy policy .