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
Code inside the macro will only run if the current build is on debug mode. This will not run if on release.
Code inside the macro will only run if the current build is on release mode. This will not run if on debug.