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

time_print doesn't accept an IO #41933

Open
SimonDanisch opened this issue Aug 19, 2021 · 2 comments
Open

time_print doesn't accept an IO #41933

SimonDanisch opened this issue Aug 19, 2021 · 2 comments
Labels
domain:io Involving the I/O subsystem: libuv, read, write, etc.

Comments

@SimonDanisch
Copy link
Contributor

It would be pretty nice if time_print was accepting an io object, making it easier to reuse the time printing in custom @time macros (e.g. for logging):

function time_print(elapsedtime, bytes=0, gctime=0, allocs=0, compile_time=0, newline=false)

@JeffBezanson
Copy link
Sponsor Member

Pretty clearly a good idea. PR it?

@SimonDanisch
Copy link
Contributor Author

Alright cool, just wanted to be sure before putting any work in ;)
#42002

@brenhinkeller brenhinkeller added the domain:io Involving the I/O subsystem: libuv, read, write, etc. label Nov 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:io Involving the I/O subsystem: libuv, read, write, etc.
Projects
None yet
Development

No branches or pull requests

3 participants