Skip to content

danielnehrig/benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmark RS

A lib for micro benchmarking 🚀🚀🚀
with support vor various crossplatform measureing methods

Measure

  • ⏲️Time (DONE)
  • 💾Memory usage (TODO)
  • 💻Cpu usage (TODO)
  • ⌚RTSC (Clock Cycles) (TODO)

Features

  1. benchmark async and sync code
  2. concurrent execution support with tokio/futures 🏯
  3. Dump results to json.
  4. graph creation (TODO)
  5. Simple API

Setup

Add to cargo.toml

benchmark = { git = "https://github.com/danielnehrig/benchmark", features = ["async"] }