Expand description
A simple profiler for Rust applications.
This crate provides a basic profiling utility that can be used to measure the elapsed time of code execution. See the `CHANGELOG.md`` for updates and changes.
The TimeLapse profiler is open-source and can be freely used and modified under the terms of the MIT license.
Re-exports§
pub use profiler::TimeLapse;
Modules§
- profiler
- A simple profiler for measuring elapsed time in Rust.
Macros§
- profile_
end - The
profile_end!macro logs the elapsed time of the profiling instance created byprofile_start!. These macros are useful for quick profiling without needing to manually create and manageTimeLapseinstances. - profile_
start - The
profile_start!macro initializes aTimeLapseinstance to start profiling. It takes an identifier as an argument, which will be instantiated and used to reference the profiler instance.