Skip to content

Use high resolution timer on PHP 7.3+ - #182

Merged
jsor merged 2 commits into
reactphp:masterfrom
clue-labs:hrtime
Feb 6, 2019
Merged

Use high resolution timer on PHP 7.3+ #182
jsor merged 2 commits into
reactphp:masterfrom
clue-labs:hrtime

Conversation

@clue

@clueclue commented Feb 6, 2019

Copy link
Copy Markdown
Member

This project suggests that event loop implementations SHOULD use a
monotonic time source if available. Given that a monotonic time source is
only available as of PHP 7.3 by default, event loop implementations MAY
fall back to using wall-clock time. http://php.net/manual/en/function.hrtime.php

Builds on top of #157 and #130
Resolves#73

@clueclue added this to the v1.1.0 milestone Feb 6, 2019
Comment threadsrc/Timer/Timers.php
jsor
jsor approved these changes Feb 6, 2019
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@clue@jsor@WyriHaximus