Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-10 Thread Ronald Chmara
On Thu, Dec 10, 2015 at 3:16 AM, Lester Caine wrote: > On 10/12/15 11:02, Björn Larsson wrote: > > Just noticed that Smarty team is working on a 3.1.28 relase that plans > > to be PHP 7 compliant, see: https://github.com/smarty-php/smarty > The version I'm running is not

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-10 Thread Lester Caine
On 10/12/15 11:02, Björn Larsson wrote: > Just noticed that Smarty team is working on a 3.1.28 relase that plans > to be PHP 7 compliant, see: https://github.com/smarty-php/smarty The version I'm running is not giving any errors, similarly ADOdb. Both were brought up to be clean on PHP5.4 and

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-10 Thread Björn Larsson
Den 2015-12-09 kl. 20:46, skrev Mike Willbanks: Lester, On Wed, Dec 9, 2015 at 1:02 PM, Lester Caine wrote: On 09/12/15 16:24, Rowan Collins wrote: So as somebody already said, maybe your code or setup is really busted. Really busted, or spending all its time in a type

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-10 Thread Björn Larsson
Den 2015-12-10 kl. 12:16, skrev Lester Caine: On 10/12/15 11:02, Björn Larsson wrote: Just noticed that Smarty team is working on a 3.1.28 relase that plans to be PHP 7 compliant, see: https://github.com/smarty-php/smarty The version I'm running is not giving any errors, similarly ADOdb. Both

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-10 Thread David Zuelke
Lester, we are software developers. not fortune tellers. Stop speculating. Gather data. Profile your stuff and look where the bottlenecks are. > On 10.12.2015, at 12:16, Lester Caine wrote: > > On 10/12/15 11:02, Björn Larsson wrote: >> Just noticed that Smarty team is

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-09 Thread Rowan Collins
Jefferson Gonzalez wrote on 09/12/2015 03:48: So as somebody already said, maybe your code or setup is really busted. Really busted, or spending all its time in a type of operation that ZE3 can't particularly optimize... -- PHP Internals - PHP Runtime Development Mailing List To

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-09 Thread Benjamin Eberlei
On Wed, Dec 9, 2015 at 4:48 AM, Jefferson Gonzalez wrote: > On 12/08/2015 08:32 AM, Lester Caine wrote: > >> On 08/12/15 02:23, Rasmus Lerdorf wrote: >> >>> Ah, I just checked. You have no opcache at all in your PHP 7 setup. And >>> you have eaccelerator configured for PHP 5.

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-09 Thread Lester Caine
On 09/12/15 16:24, Rowan Collins wrote: >> So as somebody already said, maybe your code or setup is really busted. > > Really busted, or spending all its time in a type of operation that ZE3 > can't particularly optimize... But I'd like to understand why what is fairly simple PHP code is

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-09 Thread David Zuelke
Then do a trace with xhprof/xdebug/blackfire and see where the time is spent. How should we magically know the answers? > On 09.12.2015, at 20:02, Lester Caine wrote: > > On 09/12/15 16:24, Rowan Collins wrote: >>> So as somebody already said, maybe your code or setup is

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-09 Thread Mike Willbanks
Lester, On Wed, Dec 9, 2015 at 1:02 PM, Lester Caine wrote: > On 09/12/15 16:24, Rowan Collins wrote: > >> So as somebody already said, maybe your code or setup is really busted. > > > > Really busted, or spending all its time in a type of operation that ZE3 > > can't

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-08 Thread Lester Caine
On 08/12/15 02:23, Rasmus Lerdorf wrote: > Ah, I just checked. You have no opcache at all in your PHP 7 setup. And you > have eaccelerator configured for PHP 5. So an opcode cached PHP 5 is only 10% > faster than a completely unaccelerated PHP 7. That's pretty damn impressive! Gallery page with

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-08 Thread Ferenc Kovacs
On Tue, Dec 8, 2015 at 1:32 PM, Lester Caine wrote: > On 08/12/15 02:23, Rasmus Lerdorf wrote: > > Ah, I just checked. You have no opcache at all in your PHP 7 setup. And > you have eaccelerator configured for PHP 5. So an opcode cached PHP 5 is > only 10% faster than a

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-08 Thread David Zuelke
On 08.12.2015, at 13:32, Lester Caine wrote: > Bottom line is that given the real world loading on my sites, the > differences are probably in the noise of network transit times so not > impressive at all :( ... or you have a bunch of very slow queries in there that are

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-08 Thread Jefferson Gonzalez
On 12/08/2015 08:32 AM, Lester Caine wrote: On 08/12/15 02:23, Rasmus Lerdorf wrote: Ah, I just checked. You have no opcache at all in your PHP 7 setup. And you have eaccelerator configured for PHP 5. So an opcode cached PHP 5 is only 10% faster than a completely unaccelerated PHP 7. That's

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-07 Thread Rasmus Lerdorf
On Dec 7, 2015, at 16:28, Lester Caine wrote: > > PHP7 is around 10% slower ... and given that half the time is taken > in database lookup, the code performance is potentially worse. So what > am I missing? Then you have a config problem. The first and obvious thing to check

Re: [PHP-DEV] Practical comparisons on PHP7

2015-12-07 Thread Rasmus Lerdorf
On Dec 7, 2015, at 18:17, Rasmus Lerdorf wrote: > >> On Dec 7, 2015, at 16:28, Lester Caine wrote: >> >> PHP7 is around 10% slower ... and given that half the time is taken >> in database lookup, the code performance is potentially worse. So what >> am I