A lib for micro benchmarking 🚀🚀🚀
with support vor various crossplatform measureing methods
- ⏲️Time (DONE)
- 💾Memory usage (TODO)
- 💻Cpu usage (TODO)
- ⌚RTSC (Clock Cycles) (TODO)
- benchmark async and sync code
- concurrent execution support with tokio/futures 🏯
- Dump results to json.
- graph creation (TODO)
- Simple API
Add to cargo.toml
benchmark = { git = "https://github.com/danielnehrig/benchmark", features = ["async"] }