yes,it is set in php.ini . 2012/1/5 Adam Richardson <simpleshot@xxxxxxxxx> > On Wed, Jan 4, 2012 at 11:07 PM, xucheng <helloworldjerry@xxxxxxxxx>wrote: > >> hi all, >> I have a webapp which track visitors, and use xhprof for profiling my >> codes . >> After reading some reports produced by xhprof, i found that function >> Date() kills most time of my app ! >> how can this happen ? Is this function has some internal issue that i >> should kown ? >> Any comment appreciate ! thanks ! >> >> -- >> RTFSC - Read The F**king Source Code :)! >> > > > Did you set the timezone? If not, PHP raises a notice, which causes > terrible performance (see the comment at the bottom): > https://bugs.php.net/bug.php?id=39968 > > Adam > > -- > Nephtali: A simple, flexible, fast, and security-focused PHP framework > http://nephtaliproject.com > -- RTFSC - Read The F**king Source Code :)!