# Instant Benchmark Extremely simple and small Rust library for quickly timing a closure ## Usage ```rust use ibench::{time, print_time}; fn function() { for _ in 0..100_000_000 {} } time(function); // returns duration print_time(function) // prints time in human-readable format ``` ## LICENSE Copying and distribution of this file, with or without modification, are permitted in any medium provided you do not contact the author about the file or any problems you are having with the file.