mirror of
https://github.com/nushell/nushell.git
synced 2024-12-24 07:59:21 +01:00
pass std bench
into table -e
in the example (#9075)
cc/ @fdncred # Description in the examples of `std bench` there is an expanded table without explicitely expanding it... this PR adds a `table -e` to the `std bench` call in the example. # User-Facing Changes the help page of `std bench` now does make sense 😌 # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - ⚫ `toolkit test` - ⚫ `toolkit test stdlib` # After Submitting ``` $nothing ```
This commit is contained in:
parent
e590d3587c
commit
517dc6d39e
@ -176,7 +176,7 @@ def "from ns" [] {
|
||||
#
|
||||
# # Examples
|
||||
# measure the performance of simple addition
|
||||
# > std bench { 1 + 2 } -n 10
|
||||
# > std bench { 1 + 2 } -n 10 | table -e
|
||||
# ╭───────┬────────────────────╮
|
||||
# │ mean │ 4µs 956ns │
|
||||
# │ std │ 4µs 831ns │
|
||||
|
Loading…
Reference in New Issue
Block a user