Crate profile_time

Crate profile_time 

Source
Expand description

§profile_time

This lightweight and simples crate provides 2 macros to help you separate debug and release code. This crate provides:

Macros§

debug_time
Code inside the macro will only run if the current build is on debug mode. This will not run if on release.
release_time
Code inside the macro will only run if the current build is on release mode. This will not run if on debug.