laptimer

Crates.iolaptimer
lib.rslaptimer
version0.1.0
sourcesrc
created_at2021-12-20 01:54:43.688888
updated_at2021-12-20 01:54:43.688888
descriptionSimple crate to print the time spent between different points in a program.
homepage
repositoryhttps://github.com/fintelia/laptimer
max_upload_size
id500556
size2,553
Bertie (github:cryspen:bertie)

documentation

README

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
Commit count: 7

cargo fmt