Bug #73796 [NEW]: PHP init time is too slow
| From: | spam2 at rhsoft dot net | Date: | Tue, 20 Dec 2016 21:20:54 +0000 |
| Subject: | Bug #73796 [NEW]: PHP init time is too slow | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-206165@lists.php.net to get a copy of this message | ||
From: spam2 at rhsoft dot net
Operating system:
PHP version: 7.0.14
Package: Performance problem
Bug Type: Bug
Bug description:PHP init time is too slow
Description:
------------
Hi
It's great that PHP 7.0 imporved runtime performance and 7.1 even more
but someone should also take a look at initialization times
that numbers are the code below straight before our core-cms sends the
output-buffer to the client
0.0044 / 0.0019
$runtime = round(($cms_stop_microtime - $_SERVER['REQUEST_TIME_FLOAT']),
4) . ' / ' . round(($cms_stop_microtime - $cms_startup_microtime), 4);
___________________________________
500 Requests
DYNAMIC CMS: 2915 us
STATIC HTM: 158 us
STATIC PHP: 987 us
___________________________________
STATIC PHP is the cms-page saved as HTML but with .php as extension, no
code, so 33% of the whole runtime is initialization of PHP - the 158 us
is the same file with ,htm
--
Edit bug report at https://bugs.php.net/bug.php?id=73796&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=73796&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=73796&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=73796&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=73796&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=73796&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=73796&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=73796&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=73796&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=73796&r=support
Expected behavior: https://bugs.php.net/fix.php?id=73796&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=73796&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=73796&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=73796&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=73796&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=73796&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=73796&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=73796&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=73796&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=73796&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=73796&r=mysqlcfg