- Intro
- Dependencies
- Test dependencies
- Foreign dependencies
- API
- Examples
- Author(s)
- Maintainer(s)
- Version
- License
- Tags
A very simple benchmark library
None
None
None
Benchmark the procedure-call
repeating it n
times. n
defaults to 5
.
Returns seconds elapsed of a monotonic clock. Used by elapsed
to calculate procedure performance.
(import (scheme base)
(cyclone benchmark))
(define (fib n)
(if (< n 2)
n
(+ (fib (- n 1)) (fib (- n 2)))))
(elapsed (fib 20))
;; => 0.000"0.1.0"323 (in seconds)
Arthur Maciel
Arthur Maciel
"0.1.0"
BSD
benchmark