benchmark

Time the running time of a block

Signature

> benchmark (block)

Parameters

  • block: the block to run

Examples

Benchmarks a command within a block

> benchmark { sleep 500ms }