From: malte@TechFak.Uni-Bielefeld.DE
To: rc-owner
Subject: builtin time
Date: Fri, 21 May 1993 09:23:50 -0400 [thread overview]
Message-ID: <9305211323.AA27027@idefix.techfak.uni-bielefeld.de> (raw)
I hardly dare to ask for it, but what about a "time" builtin ? I'm well
aware of the existance of /usr/bin/time or whereever it may reside, but
that doesn't allow to measure the time it took a builtin or a function
to complete.
I came across this when I tried to measure the time it takes for several
commands running in parallel,
like
for( i in *.c ){ cc $i & } ; time wait $apids
which, of course, gives only an approximization. The correct way is
{ for( i in *.c ){ time cc $i & }} | sed -f filter.script
measure each cc run independently and sum up the outputs.
Any opinions about it ?
Malte
next reply other threads:[~1993-05-21 19:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-05-21 13:23 malte [this message]
1993-05-21 19:13 Paul Haahr
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=9305211323.AA27027@idefix.techfak.uni-bielefeld.de \
--to=malte@techfak.uni-bielefeld.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).