timelapse 0.1.3

A Rust library for simple performance measurement of code.
Documentation
  • Coverage
  • 100%
    12 out of 12 items documented4 out of 10 items with examples
  • Size
  • Source code size: 11.12 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 351.15 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 10s Average build duration of successful builds.
  • all releases: 11s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • turgu1/timelapse
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • turgu1

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

Changelog

[0.1.3] - 2025-06-28

  • Added two new macros:

    • profile_end_print!() - Use println! instead of a std::log instance.
    • profile_end_log!() - Additional parameter to select the log's Level to use.

    See the documentation for usage details.

[0.1.2] - 2025-06-12

  • Added example of usage for the defined macros.
  • Added a CHANGELOG.md file

[0.1.1] - 2025-06-11

  • Added pub use entries in lib.rs to simplify usage in calling applications.

[0.1.0] - 2025-06-10

Initial release