Re: cvs: php-src(PHP_5_3) / NEWS /sapi/cgi cgi_main.c
| From: | Marcus Boerger | Date: | Thu, 25 Oct 2007 15:01:40 +0000 |
| Subject: | Re: cvs: php-src(PHP_5_3) / NEWS /sapi/cgi cgi_main.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-46769@lists.php.net to get a copy of this message | ||
Hello Dmitry,
Thursday, October 25, 2007, 7:39:06 AM, you wrote:
> dmitry Thu Oct 25 05:39:06 2007 UTC
> Modified files: (Branch: PHP_5_3)
> /php-src NEWS
> /php-src/sapi/cgi cgi_main.c
> Log:
> Added CGI SAPI -T option, to measure execution time of script repeated several times.
>
>
>
> http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.32&r2=1.2027.2.547.2.965.2.33&diff_format=u
> Index: php-src/NEWS
> diff -u php-src/NEWS:1.2027.2.547.2.965.2.32 php-src/NEWS:1.2027.2.547.2.965.2.33
> --- php-src/NEWS:1.2027.2.547.2.965.2.32 Tue Oct 23 09:55:10 2007
> +++ php-src/NEWS Thu Oct 25 05:39:05 2007
> @@ -1,6 +1,8 @@
> PHP NEWS
>
> |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
> ?? ??? 20??, PHP 5.3.0
> +- Added CGI SAPI -T option, to measure execution time of script repeated
> + several times. (Dmitry)
> - Added icon format support to getimagesize(). (Scott)
> - Added LDAP_OPT_NETWORK_TIMEOUT option for ldap_set_option() to allow
> setting network timeout (FR #42837). (Jani)
>
> http://cvs.php.net/viewvc.cgi/php-src/sapi/cgi/cgi_main.c?r1=1.267.2.15.2.50.2.4&r2=1.267.2.15.2.50.2.5&diff_format=u
> Index: php-src/sapi/cgi/cgi_main.c
> diff -u php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.4
> php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.5
> --- php-src/sapi/cgi/cgi_main.c:1.267.2.15.2.50.2.4 Mon Oct 1 12:40:54 2007
> +++ php-src/sapi/cgi/cgi_main.c Thu Oct 25 05:39:06 2007
> @@ -21,7 +21,7 @@
> +----------------------------------------------------------------------+
> */
>
> -/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.4 2007/10/01 12:40:54 jani Exp $ */
> +/* $Id: cgi_main.c,v 1.267.2.15.2.50.2.5 2007/10/25 05:39:06 dmitry Exp $ */
>
> #include "php.h"
> #include "php_globals.h"
> @@ -137,6 +137,7 @@
> {'?', 0, "usage"},/* help alias (both '?' and
> 'usage') */
> {'v', 0, "version"},
> {'z', 1, "zend-extension"},
> + {'T', 1, "timing"},
> {'-', 0, NULL} /* end of args */
> };
>
> @@ -758,7 +759,8 @@
> " -s Display colour syntax highlighted
> source.\n"
> " -v Version number\n"
> " -w Display source with stripped comments
> and whitespace.\n"
> - " -z <file> Load Zend extension
> <file>.\n",
> + " -z <file> Load Zend extension
> <file>.\n"
> + " -T <count> Measure execution time of script
> repeated <count> times.\n",
there is a WS issue, for more check Jani's mail
Best regards,
Marcus