Skip to content

ThomasPiellard/bench_utils

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Usage

  • Enable "timer" feature in Cargo.toml
  • Specify the feature before module (#[cfg(feature="timer")]) Snippet for using the macros:
let _time = timer_start!(|| "Benchmarking my function");
<...>
timer_end!(_time);

About

Helper for benchmarking in Rust (from ZEXE)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages