Newsgroups: php.internals,php.internals.win Path: news.php.net Xref: news.php.net php.internals:77021 php.internals.win:1056 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28636 invoked from network); 1 Sep 2014 22:00:48 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Sep 2014 22:00:48 -0000 Authentication-Results: pb1.pair.com smtp.mail=php_lists@realplain.com; spf=softfail; sender-id=softfail Authentication-Results: pb1.pair.com header.from=php_lists@realplain.com; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain realplain.com does not designate 216.33.127.80 as permitted sender) X-PHP-List-Original-Sender: php_lists@realplain.com X-Host-Fingerprint: 216.33.127.80 mta11.charter.net Solaris 10 1203 Received: from [216.33.127.80] ([216.33.127.80:53823] helo=mta11.charter.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6E/44-03336-F8CE4045 for ; Mon, 01 Sep 2014 18:00:48 -0400 Received: from imp11 ([10.20.200.11]) by mta11.charter.net (InterMail vM.8.01.05.09 201-2260-151-124-20120717) with ESMTP id <20140901220044.GXXU4658.mta11.charter.net@imp11>; Mon, 1 Sep 2014 18:00:44 -0400 Received: from mtaout002.msg.strl.va.charter.net ([68.114.190.27]) by imp11 with smtp.charter.net id ly0k1o0080buw5Q05y0kVd; Mon, 01 Sep 2014 18:00:44 -0400 Received: from impout002 ([68.114.189.17]) by mtaout002.msg.strl.va.charter.net (InterMail vM.9.00.010.00 201-2473-137) with ESMTP id <20140901220044.NQTB16771.mtaout002.msg.strl.va.charter.net@impout002>; Mon, 1 Sep 2014 17:00:44 -0500 Received: from pc1 ([96.35.251.86]) by impout002 with charter.net id ly0k1o0071sc0so01y0kxl; Mon, 01 Sep 2014 17:00:44 -0500 X-Authority-Analysis: v=2.1 cv=W6e2VHmk c=1 sm=1 tr=0 a=Is5gsZaFXO8aPum+t7Tz+g==:117 a=Is5gsZaFXO8aPum+t7Tz+g==:17 a=hOpmn2quAAAA:8 a=hrnPcQGoKqUA:10 a=3sBgxdPApI8A:10 a=WUgRJF_wMoEA:10 a=IkcTkHD0fZMA:10 a=BCPeO_TGAAAA:8 a=YE0gbQH_wrbXto8h_pUA:9 a=QEXdDO2ut3YA:10 Message-ID: <31AC684C440E4295AE41CC9CB4A8D25D@pc1> To: "Stas Malyshev" , Cc: "Pierre Joye" , "Anatol Belski" , References: <5404DBD1.8050604@sugarcrm.com> <5404DC97.6040607@sugarcrm.com> Date: Mon, 1 Sep 2014 17:00:44 -0500 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 Subject: Re: [INTERNALS-WIN] [PATCH] Microsecond resolution and accuracy on Windows From: php_lists@realplain.com ("Matt Wilmas") Hi Stas, ----- Original Message ----- From: "Stas Malyshev" Sent: Monday, September 01, 2014 > Hi! > >> I'm also not sure how important it is how have it for 5.4. Does the >> problem that this patch fixes exist only in older versions of Windows or >> on all versions? What are the actual effects of this problem - is it >> just lower resolution of microtime or there can be something seriously >> wrong with the whole result? If it's just lower resolution, I'd prefer >> this to go into 5.5 as the change is pretty extensive. > > I'd like also to hear more from Anatol and other windows devs on how > important they think this is - I haven't done anything with PHP on > windows for some time so I'd like more feedback. From comments in bug reports and brief exchanges on Twitter in October, Pierre wanted to go back to using high-res Performance Counters like the previous 10+ years. While Anatol explains the potential issues, and the low-res, but accurate, plain time functions should be used. My changes provide the best of both, AFAICT. Didn't get to correct 5.3 somehow last year... :*( - Matt