A lightweight, thread-safe timing profiler for Rust pipelines.
Track and visualize performance bottlenecks with minimal overhead.
cronos::clock("work"); // Start timer
do_work();
cronos::clock("work"); // Stop timer
cronos::print(); // Display timeline
- Thread-Safe: Global state protected by
Arc<Mutex<T>>
- Visual Timeline: ASCII-art bar chart scaled to terminal width
- Panic-on-Error: Fails fast on misuse (duplicate tags, unfinished spans)
MIT or Apache 2.0