nushell/docs/commands/benchmark.md
Justin Ma c0a1d18e3d
update #4455, regenerate commands' docs and update make_docs script (#4586)
* feat: update #4455, regenerate commands' docs

* chore: update make_docs script
2022-02-21 11:26:00 -06:00

269 B

title layout version
benchmark command 0.59.0

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 }