Re: [RFC] [VOTE] Constant scalar expressions

From: Date: Fri, 22 Nov 2013 09:18:43 +0000
Subject: Re: [RFC] [VOTE] Constant scalar expressions
References: 1 2 3 4 5 6 7 8 9 10 11  Groups: php.internals 
Request: Send a blank email to internals+get-70279@lists.php.net to get a copy of this message
On Fri, Nov 22, 2013 at 2:38 PM, Tjerk Meesters <tjerk.meesters@gmail.com>wrote: > [yohgaki@dev tmp]$ php bench.php >> Time: 6.4104981422424 >> Time: 7.7053151130676 20.198383060014% slower >> Time: 8.022579908371 25.14752723358% slower >> Time: 7.5032601356506 17.046444272519% slower >> Time: 7.713919878006 20.332612331241% slower >> > > This is way too much variation to be reliable. > > VM was working while executing the script :p > Actually, the test should be done against two separate builds: > 1) build without patch > 2) build with patch > I agree. Since the script includes loop overhead, pure difference is much larger. It's a small difference, but people are working remove unnecessary memory indirection, etc for better performance. We might be better to consider extending define(). Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net

« previous php.internals (#70279) next »