timeit
for debug> timeit {flags} (command)
command
: the command or block to runinput | output |
---|---|
any | duration |
nothing | duration |
Times a command within a closure
>timeit { sleep500ms }
Times a command using an existing input
>http gethttps://www.nushell.sh/book/|timeit { split chars }
Times a command invocation
>timeitls-la
Copyright © 2019–2023 The Nushell Project DevelopersLicensed under the MIT License.
https://www.nushell.sh/commands/docs/timeit.html