Re: [INTERNALS-WIN] [PATCH] Microsecond resolution and accuracy on Windows
[email protected] ("Matt Wilmas") Mon, 1 Sep 2014 17:00:44 -0500
| Newsgroups | php.internals,php.internals.win |
|---|---|
| Message-ID | <31AC684C440E4295AE41CC9CB4A8D25D@pc1> |
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