mirror of
https://github.com/nushell/nushell.git
synced 2024-11-27 10:53:57 +01:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
23 lines
269 B
Markdown
23 lines
269 B
Markdown
---
|
|
title: benchmark
|
|
layout: command
|
|
version: 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
|
|
```shell
|
|
> benchmark { sleep 500ms }
|
|
```
|