Gabirel / Gabirel.github.io

Gabriel's Personal Blog
https://gabirel.github.io
MIT License
1 stars 0 forks source link

Measure function exection time elegantly in Rust(Python, Golang) | Go Deep | Blog #36

Open Gabirel opened 3 years ago

Gabirel commented 3 years ago

https://godeep.pro/en/Rust/2021/05/26-Measure-function-exection-time-in-Rust(Python-Golang)/

Measuring function time is quite necessary sometimes. It is easy to implement this in other languages but not in Rust. Therefore, this post will demonstrate some tricks to measure the function executi