[php-maint] Bug#571762: closed by Raphael Geissert <geissert at debian.org> (Bug#571762: fixed in php5 5.3.2-1)
seanius at debian.org
Wed Mar 17 06:56:30 UTC 2010
how about you bring this up on pkg-php for discussion?
On Tue, Mar 16, 2010 at 09:51:27PM -0400, Filipus Klutiero wrote:
> Hi Sean and others,
> I'm back from Confoo 2010 and was able to get up early enough to see the last 15 minutes of Rasmus Lerdorf's talk on PHP performance. He was comparing HipHop PHP's performance with PHP's and had an initially slower result with HipHop. He profiled the HipHop version and after a few changes, it was still significantly slower than the PHP version. He found that a date or time function was taking about 15-20% of the execution time due to system calls querying the timezone. A simple date_default_timezone_set made the HipHop version take the lead.
> Now, I don't know what was the script and whether it used time/date functions a lot, but it looked like running without date_timezone, TZ and without calling date_default_timezone_set could have a significant performance hit if PHP doesn't cache the timezone. Caching the timezone for a minute or so would seem reasonable if it's not already done. I suppose the timezone is never changed on most Debian installs.
> I leave it to your discretion to determine whether this deserves investigation. Unfortunately, the slides aren't available, I can only suggest you ask Rasmus if you want more context.
> Thanks for the quick treatment of this bug,
> Le mars 13, 2010 06:51:14 PM, Debian Bug Tracking System a écrit :
> > This is an automatic notification regarding your Bug report
> > which was filed against the php5 package:
> > #571762: [php5] please get rid of "Warning: date() [function.date]: It is not safe to rely on the system's timezone settings."
> > It has been closed by Raphael Geissert <geissert at debian.org>.
> > Their explanation is attached below along with your original report.
> > If this explanation is unsatisfactory and you have not received a
> > better one in a separate message then please contact Raphael Geissert <geissert at debian.org> by
> > replying to this email.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 190 bytes
Desc: Digital signature
More information about the pkg-php-maint