Re: Comment Speed
| From: | Robert Cummings | Date: | Sat, 27 Nov 2004 16:44:55 +0000 |
| Subject: | Re: Comment Speed | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-202956@lists.php.net to get a copy of this message | ||
On Sat, 2004-11-27 at 11:13, Bruno B B Magalhães wrote:
> Does anyone has a solid benchmark about comments speed.. I mean, too
> many comments will decrease speed of the PHP scripts...
>
> I've tried without success using a class, and also a simple micro-time
> operation... Well, cause the file is evaluated before it is executed, I
> didn't had success.
>
> Any idea?
>
> Regards,
> Bruno B B Magalhaes
Under Linux you can use the time command... but comments are parsed out
EXTREMELY fast and are generally negligible, even if you have a lot.
Also, a nice accelerator will assuage all your worries since the
comments won't be encountered after the cache is created.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'