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

Use time.perf_counter() instead of time.time() #172

Closed
MassimoCimmino opened this issue Nov 26, 2021 · 0 comments · Fixed by #174
Closed

Use time.perf_counter() instead of time.time() #172

MassimoCimmino opened this issue Nov 26, 2021 · 0 comments · Fixed by #174

Comments

@MassimoCimmino
Copy link
Owner

Calculation time is currently reported using differences of calls to time.time(). This is not the intended use of that function (the intended use is to report the current time, not time differences).

This issue is thus to replace calls to time.time() by calls to time.perf_counter() which is intended to measure time differences.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant