Re: the experimental jit-branch is impressive
| From: | lists@rhsoft.net | Date: | Tue, 02 May 2017 19:04:25 +0000 |
| Subject: | Re: the experimental jit-branch is impressive | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-98941@lists.php.net to get a copy of this message | ||
Am 02.05.2017 um 20:53 schrieb Nikita Popov:
loaded, but not enabled xdebug.default_enable = 0 xdebug.profiler_enable = 0 xdebug.profiler_enable_trigger = 1These results are very unlikely. I'm 95% sure your benchmark is broken. My first guess would be that you're benchmarking PHP + JIT against PHP without opcache. Please share the relevant (opcache-related) portion of the php.inis you usedno they are not - since i build RPM packages and even the whole spec-file is unchanged, only the tarball changed and the build is highly optimized i can assure you for 100% that i compare PHP 7.1.5RC1 with https://github.com/zendtech/php-src <https://github.com/zendtech/php-src> downloaded todaymaybe the PGO-profiling running autotests and fuzzy-calls on the whole application as well as 2000 cms-requests combined with the compiler flags improves the JIT itselfwithout opcache the results for 7.1.5 are *dramatically* slowerand i repeated the test upgrade/downgrade packages and run "ab" multiple times on that machine - attached the "php.spec" which is used for the buildin just downloaded the zip from https://github.com/zendtech/php-src <https://github.com/zendtech/php-src>, renamed it to "php-7.2.0", made a tar.xz archive, changed the version on teh frist line in the spec file and fired the build/profiling - nothing else changedYou have xdebug enabled...
7.1.5: Requests per second: 136.46 7.1.5 opcache: Requests per second: 316.77 7.2.0 JIT PGO: Requests per second: 925.967.2.0 JIT NON-PGO: Requests per second: 849.99 around 8% are the difference with or without PGO, no idea how much strict-types and a 100% typehinted codebase makes a difference to the JIT operations