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.
The TimeLapse profiler is open-source and can be freely used and modified under the terms of the MIT license.
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 used to reference the profiler instance.