chickadee » micro-benchmark » benchmark-run

(benchmark-run [ITERATIONS] EXPR) -> statistics-alistsyntax
(benchmark-run ([ITERATIONS [STAT-ID [VAR]]]) EXPR ...) -> statistics-alistsyntax

Runs the EXPR ... ITERATIONS times and returns a micro-stats (generate-statistics) report.

ITERATIONS
fixnum | true ; defaults to (current-benchmark-iterations)
STAT-ID
symbol | true ; defaults to (current-benchmark-statistics-set)
VAR
identifier ; variable to bind the current interation index