[dev] Re: [cvs] commit: horde/lib NLS.php String.php

Jan Schneider jan at horde.org
Thu Feb 6 18:18:50 PST 2003


Zitat von Michael M Slusarz <slusarz at bigworm.colorado.edu>:

> Quoting Jan Schneider <jan at horde.org>:
> 
> | jan         2003/02/06 09:05:33 PST
> |
> |   Modified files:
> |     lib                  NLS.php String.php
> |   Log:
> |   Cache expensive extension_loaded() calls.
> 
> A couple of questions:
> 1) where are you getting the information on how many function calls are
> used, etc.?  Is there some kind of PHP profiler available and I am in the
> dark about it?

Perhaps. ;-) APD, available from PEAR.
 
> 2) maybe we should keep a list of function calls (in CODING_STANDARDS)
> that
> we should cache because they are expensive calls?  This would definitely
> help in the future.

Sounds good. Expensive functions I found so far: array_key_exists() and
extension_loaded().

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list