2
0
Fork 0
mirror of https://github.com/nushell/nushell synced 2025-02-13 12:43:48 +00:00
nushell/docs/commands/benchmark.md

23 lines
269 B
Markdown
Raw Normal View History

---
title: benchmark
layout: command
version: 0.59.1
---
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 }
```