Improve debugging: How to inspect execution time of function easily in rust and node #876
hyf0
started this conversation in
Core Minutes
Replies: 1 comment 2 replies
-
I've wanted to give this a try https://crates.io/crates/tracing-chrome |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Met a lot of cases that want to simply check how long a function run.
We now could do this manually by adding hard code to print out the time. While it works, it's not friendly to be used.
In rust:
We are already using the
tracing
crate. Might able to do something with it.In node
Well, I'm currently blind.
Beta Was this translation helpful? Give feedback.
All reactions