nushell/crates/nu-std/lib
Antoine Stevan 3268ecd116
FEATURE: add the bench command to the standard library (#8969)
Should address the first point of
- https://github.com/nushell/nushell/issues/8696.

# Description
i've seen a few appearances of this `benchmark` idea in recent works on
`nu-std`, so i thought it would be great to add it finally.

# User-Facing Changes
a new `std bench` command to measure the performance of `nushell`
closures and code blocks.

# Tests + Formatting
- 🟢 `toolkit fmt`
- 🟢 `toolkit clippy`
-  `toolkit test`
- 🟢 `toolkit test stdlib`

# After Submitting
```
$nothing
```
2023-04-28 09:07:23 +02:00
..
dirs.nu stdlib: refactor into a multi-module library (#8815) 2023-04-09 20:00:20 +03:00
help.nu stdlib: add completion to help commands (#8799) 2023-04-10 10:59:57 +12:00
iter.nu add filter-map command to std iter (#8926) 2023-04-19 19:09:10 +02:00
log.nu stdlib: refactor into a multi-module library (#8815) 2023-04-09 20:00:20 +03:00
mod.nu FEATURE: add the bench command to the standard library (#8969) 2023-04-28 09:07:23 +02:00
testing.nu std run-tests: Rename --command switch to --test; and likewise in --list output (#8895) 2023-04-20 19:41:33 -05:00
xml.nu stdlib: refactor into a multi-module library (#8815) 2023-04-09 20:00:20 +03:00