We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
func Time(name, fn func()) that reports how long something took
func Time(name, fn func())
... I can make a PR for it unless there is a reason this is not wanted @truthbk ...
The text was updated successfully, but these errors were encountered:
Hi @grosser,
I don't see anything wrong with doing this apart from a probable performance hit. Feel free to open a PR if you are still interested.
Arthur
Sorry, something went wrong.
I'd love this, most of the time we're measuring time anyway, so having a utility function like this would help a lot 🙂
any idea if that PR will be merged?
Successfully merging a pull request may close this issue.
func Time(name, fn func())
that reports how long something took... I can make a PR for it unless there is a reason this is not wanted @truthbk ...
The text was updated successfully, but these errors were encountered: