This crate provides a basic profiling utility that can be used to measure the elapsed time of code execution.
The profiler is open-source and can be freely used and modified under the terms of the MIT license.
-
Added two new macros:
profile_end_print!()
- Use println! instead of astd::log
instance.profile_end_log!()
- Additional parameter to select the log'sLevel
to use.
See the documentation for usage details.
- Added example of usage for the defined macros.
- Added a CHANGELOG.md file
- Added
pub use
entries inlib.rs
to simplify usage in calling applications.
Initial release