Re: E_RECOVERABLE_ERROR - 5.1.6 to 5.2.0

From: Date: Thu, 04 Jan 2007 22:47:15 +0000
Subject: Re: E_RECOVERABLE_ERROR - 5.1.6 to 5.2.0
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.general 
Request: Send a blank email to php-general+get-246557@lists.php.net to get a copy of this message
On Thu, January 4, 2007 6:49 am, Roman Neuhauser wrote: > # stuttle@gmail.com / 2007-01-04 11:38:58 +0000: >> Jochem Maas wrote: >> > out of interest, are you logging the result of each request? your >> > probably getting quite a lot of hits to your phpspeed page right >> now >> > - storing the results of everyone's requests is a nice way to grab >> > extra/free data whilst you pick your nose ;-) >> >> I'm not at the moment. It's a good idea though, if I get some time >> over >> lunch I'll add it. > > What data? How are you going to remove the effect of concurrent > requests > for the page from the numbers? The other mail I sent showing a run > where > printf() came out almost twice as fast as echo clearly shows that the > numbers carry little information. > > All that I could gather from several runs was that *printf() is > *slightly* slower than echo, and that the difference isn't large > enough > to justify ditching *printf(). I knew this before. I believe that there may be some constructs within printf() that could make it slower than just echo -- and possibly in some cases with no real difference in output. printf("%s", $foo) should not be THAT much slower than echo $foo, so unless you're in some kind of tight loop with a zillion of them, it won't matter. I'm always befuddled by people arguing about the performance of this or that when it's a NON-ISSUE for the context in question, 99.9% of the time. -- Some people have a "gift" link here. Know what I want? I want you to buy a CD from some starving artist. http://cdbaby.com/browse/from/lynch Yeah, I get a buck. So?

« previous php.general (#246557) next »