#time #different #points #spent

laptimer

Simple crate to print the time spent between different points in a program

1 unstable release

0.1.0 Dec 20, 2021

#5 in #spent

MIT/Apache

3KB

laptimer

A simple Rust crate to print the time between different points in a program:

laptimer::print!(); 

// do some work...

laptimer::print!();

Which produces output like:

[   0.000ms] src/lib.rs:10
[   1.234ms] src/lib.rs:20

Dependencies

~10KB