note 60712 deleted from function.is-array by danbrown
| From: | danbrown@php.net | Date: | Sat, 27 Dec 2008 16:49:20 +0000 |
| Subject: | note 60712 deleted from function.is-array by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148565@lists.php.net to get a copy of this message | ||
Note Submitter: mmalone at NOSPAM dot vt dot edu
----
I was just profiling a rather large php app I have been working on using APD, and noticed that the
is_array() function is (apparently) rather inefficient in terms of 'real' time. Not sure
why this might be, but it could be a bottleneck in an application where performance is important.
Here is the applicable pprofp output, for those interested:
Real User System secs/ cumm
%Time (excl/cumm) (excl/cumm) (excl/cumm) Calls call s/call Memory Usage Name
--------------------------------- -----------------------------------------------------
36.9 0.76 0.76 0.00 0.00 0.05 0.05 53 0.0143 0.0143 -99704 is_array