murex Shell Docs

Command Reference: time

Returns the execution run time of a command or block

Description

time is an optional builtin which runs a command or block of code and returns it's running time.

Usage

time: command parameters -> <stderr>

time: { code-block } -> <stderr>

Examples

» time: sleep 5
5.000151513

» time { out "Going to sleep"; sleep 5; out "Waking up" }
Going to sleep
Waking up
5.000240977

Detail

time's output is written to STDERR. However any output and errors written by the commands executed by time will also be written to time's STDOUT and STDERR as usual.

See Also

This site's content is rebuilt automatically from murex's source code after each merge to the master branch. Downloadable murex binaries are also built with the website.

Last built on Fri Sep 10 15:05:25 UTC 2021 against commit 437c274437c274fded54d82e99d70ea7d2917f332c095dd.

Current version is 2.2.1200 BETA which has been verified against tests.