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

Improve @timing decorator #823

Merged
merged 2 commits into from
Jan 4, 2024
Merged

Conversation

naglis
Copy link
Contributor

@naglis naglis commented Dec 14, 2023

No description provided.

Without it, the name/docstring of the wrapped function is lost.
`time.time()` can return a lower value than a previous call if the
system clock has been set back between the two calls.
Copy link
Collaborator

@rdbende rdbende left a comment

Choose a reason for hiding this comment

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

LGTM!

@rdbende rdbende merged commit 7a7577b into geigi:master Jan 4, 2024
4 checks passed
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 this pull request may close these issues.

2 participants