ocaml/tools/Time

11 lines
209 B
Plaintext
Raw Normal View History

# Time # Measure execution time
# Usage: Time command arguments<74>
set echo 0
set startdate `date -n`
{parameters}
set enddate `date -n`
echo "# Time: `evaluate {enddate} - {startdate}` s" > dev:stderr