Skip to content

Latest commit

 

History

History
21 lines (15 loc) · 536 Bytes

File metadata and controls

21 lines (15 loc) · 536 Bytes

cronos

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

Features

  • 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)

License

MIT or Apache 2.0