From: Chris Siebenmann <cks>
To: The rc Mailing List <rc>
Subject: Re: Speed of rc
Date: Tue, 13 Apr 1993 15:26:18 -0400 [thread overview]
Message-ID: <93Apr13.152625edt.2752@hawkwind.utcs.toronto.edu> (raw)
In-Reply-To: john's message of Fri, 09 Apr 93 11:23:00 -0400. <199304100123.13535.rc.bagir@civil.su.oz.au>
Interestingly, I ran similar tests to John Mackin's, and got more or less
the reverse of his results; on a DECstation 5000/133 with everything on a
fairly pokey and slow local disk, the sh './xx' case was noticably slower
than the rc case. I've seen these numbers replicated across some other
machines (including a SunOS box in my testing, although it was hard to
get a consistent load average on that machine).
Here are the numbers themselves:
! : whirlwind.sys ; l=(1 2 3 4 5)
! : whirlwind.sys ; for (i in $l) {/bin/time sh -c 'cat pus2 | ./rc.gcc'}
! 25.0 real 1.0 user 22.2 sys
! 24.3 real 1.1 user 21.8 sys
! 25.1 real 1.1 user 22.4 sys
! 24.2 real 1.0 user 21.7 sys
! 23.1 real 1.0 user 21.4 sys
! : whirlwind.sys ; for (i in $l) {/bin/time sh -c 'cat pus2 | ./rc.c89'}
! 25.5 real 0.9 user 22.2 sys
! 24.0 real 1.1 user 21.8 sys
! 26.6 real 1.0 user 23.1 sys
! 23.8 real 1.1 user 21.7 sys
! 25.3 real 0.9 user 22.9 sys
! : whirlwind.sys ; for (i in $l) {/bin/time sh -c 'cat pus2 | /bin/sh'}
! 30.4 real 9.0 user 20.1 sys
! 31.0 real 9.1 user 20.3 sys
! 30.7 real 9.2 user 20.2 sys
! 29.4 real 8.9 user 19.7 sys
! 29.4 real 8.9 user 19.8 sys
[rc.gcc and rc.c89 are rc binaries compiled with gcc 2.2.2 and DEC's
c89 ANSI compiler, respectively.]
- cks
next prev parent reply other threads:[~1993-04-13 19:26 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
1993-04-08 22:31 Tom Culliton x2278
1993-04-09 0:38 ` Scott Schwartz
1993-04-09 15:23 ` John Mackin
1993-04-13 19:26 ` Chris Siebenmann [this message]
1993-04-13 21:13 ` John Mackin
1993-04-09 16:32 ` Dave Mason
1993-04-09 16:39 ` John Mackin
1993-04-09 19:22 ` Dave Mason
1993-04-09 21:12 ` Chris Siebenmann
-- strict thread matches above, loose matches on Subject: below --
1993-04-15 20:26 speed " Tom Culliton x2278
1993-04-13 20:26 Byron Rakitzis
1993-04-13 21:23 ` John Mackin
1993-04-13 23:42 ` mycroft
1993-04-12 5:51 Speed " Paul Haahr
1993-04-09 15:58 Tom Culliton x2278
1993-04-08 23:09 Paul Haahr
1993-04-08 20:14 Byron Rakitzis
1993-04-08 15:45 Paul Haahr
1993-04-07 19:50 Tom Culliton x2278
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=93Apr13.152625edt.2752@hawkwind.utcs.toronto.edu \
--to=rc@hawkwind.utcs.toronto.edu \
/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).