Skip to content

nikkolasg/timed-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Timed macro

Use it like this

    #[timed::timed_instrument(level="debug")]
    fn my_long_method() {

    }

and run

RUST_LOG=debug cargo run --release

and you'll see the log lines with the time in ms

About

Simple macro to time any function

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages