Skip to content

Added a tip about the support of microseconds in Stopwatch #8146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from

Conversation

javiereguiluz
Copy link
Member

@xabbuh xabbuh added this to the 3.4 milestone Jul 12, 2017
The latter should be used when you need to retrieve the duration of an event
while it is still running.

.. tip::

By default, Stopwatch truncates any sub-millisecond time measure to ``0``,
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[...] the stopwatch [...]

@xabbuh
Copy link
Member

xabbuh commented Jul 21, 2017

Thank you Javier.

xabbuh added a commit that referenced this pull request Jul 21, 2017
…h (javiereguiluz)

This PR was squashed before being merged into the 3.4 branch (closes #8146).

Discussion
----------

Added a tip about the support of microseconds in Stopwatch

This documents symfony/symfony#23223. See also https://symfony.com/blog/new-in-symfony-3-4-stopwatch-improvements.

Commits
-------

24718a6 Added a tip about the support of microseconds in Stopwatch
xabbuh added a commit that referenced this pull request Jul 21, 2017
@xabbuh xabbuh closed this Jul 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants