Re: set_time_limit () - CPU time or elapsed time?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13 Apr 2014 at 01:42, Stuart Dallas <stuart@xxxxxxxx> wrote: 

>> I know that there is a note in the online doc for this function that says
>> that under windows, extra time such as database calls is included. Would that
>> include SQLite calls which wouldn't be included for the OS X version?
>
> * Under Windows it’s elapsed time spent executing the PHP script regardless
> of what it’s doing, but under other platforms it’s elapsed time spent
> executing PHP code only (so not including time spent executing other
> processes, running database queries, etc). So yes, time spent executing sqlite
> queries would only be included on Windows. If your queries are causing the
> order of magnitude difference in execution time your problem has nothing to do
> with PHP!

Mmmm. Then I may need to disable it altogether for Windows. Inter alia, the scripts communicate with remote hosts, that may respond slowly, or have a lot to say. If all that time is going to be counted against the script ...

Thanks.

--
Cheers  --  Tim

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux