collect-benchmarks ( quot n -- seq )


Vocabulary
project-euler.ave-time

Inputs
quota quotation
nan integer


Outputs
seqa sequence


Word description
Runs a quotation n times, collecting the wall clock time inside of a sequence.

Notes
The stack effect of quot is accounted for and only one set of outputs will remain on the stack no matter how many trials are run.

A nicer word for interactive use is ave-time.

Definition