Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Benchmark

Nimrod module to help with benchmarks while adding as low overhead as possible.

Example:

var sw = StopWatchInit()
let repeats = 100_000

sw.start()
for i in 0 .. <repeats:
  bar()
  sw.lap(store=true)
    
let total_time = sw.pause()
let laps = sw.getLaps()

echo("Laps total time: ", laps.sum(), "Laps per second: ", 60/laps.mean())
echo("Total time: ", total_time)

About

Nimrod module to help with benchmarks while adding as low overhead as possible.

Resources

Stars

3 stars

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages