Skip to content
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

FIX - Replace time.clock with time.perf_counter #174

Merged
merged 4 commits into from
Nov 19, 2019

Conversation

carlwilson
Copy link
Member

  • incorporated @OskarPersson suggestion to stop using deprecated time.clock() function;
  • used @mistydemeo's suggestion to make P2 and P3 compatible;
  • factored timer into PerfTimer utility class to make testable; and
  • added pytests for PerfTimer to ensure it works on Python 2.

OskarPersson and others added 3 commits November 4, 2019 14:13
- used @mistydemeo's suggestion to make P2 and P3 compatible;
- factored timer into `PerfTimer` utility class to make testable; and
- added `pytests` for `PerfTimer` to ensure it works on Python 2.
@carlwilson carlwilson self-assigned this Nov 19, 2019
@carlwilson carlwilson added bug A product defect that needs fixing P2 Medium priority issues to be scheduled in a future release labels Nov 19, 2019
@carlwilson carlwilson added this to the v1.4.0-m4 milestone Nov 19, 2019
@ablwr ablwr merged commit c2c0fb4 into master Nov 19, 2019
@carlwilson carlwilson deleted the OskarPersson/clock-perf-counter branch November 22, 2019 02:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A product defect that needs fixing P2 Medium priority issues to be scheduled in a future release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants