I’m using set_time_limit() to change the max_execution_time for a given script. However my script has different execution time every time it is ran, so i can use the same value for the function parameter every time. How can I know how long will the script take and change the max execution time accordingly?