From: Jeremy Fitzhardinge <jeremy@goop.org>
To: Tim Goodwin <tjg@star.le.ac.uk>
Cc: rc@hawkwind.utcs.toronto.edu
Subject: RE: Dynamically loading readline on demand (was Re: rc futures)
Date: Wed, 12 Jan 2000 19:19:36 -0500 [thread overview]
Message-ID: <XFMail.000112161906.jeremy@goop.org> (raw)
In-Reply-To: <ezkAAOYxczhcXQwA@ltsun0.star.le.ac.uk>
On 05-Jan-00 Tim Goodwin wrote:
> Here are the results I got on my 200MHz Linux PC (us = microseconds).
>
> rc.static 744us
> rc.rl.static 865us
> rc.dynamic 1071us
> rc.rl.dynamic 1442us
>
> (The raw data, together with file sizes, are appended. Lest you think
> that this is a quirk of Linux, I have even more dramatic results from
> SunOS 5. Why does dynamic linking increase the user time? I have no
> idea, but it reliably does on both these platforms.)
I had noticed the same thing. I tend build two versions of rc: "rci" for
interactive use, which contains readline, and plain "rc" which is minimal and
statically linked, for scripts. I've never noticed a real-world performance
difference between them.
J
next prev parent reply other threads:[~2000-01-13 22:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-12-15 16:32 rc futures Russ Cox
2000-01-05 11:59 ` Dynamically loading readline on demand (was Re: rc futures) Tim Goodwin
2000-01-01 0:22 ` Paul Haahr
2000-01-14 16:26 ` Tim Goodwin
2000-01-14 19:18 ` Paul Haahr
2000-01-13 0:19 ` Jeremy Fitzhardinge [this message]
2000-01-07 10:38 Bengt Kleberg
2000-01-14 11:11 Bengt Kleberg
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=XFMail.000112161906.jeremy@goop.org \
--to=jeremy@goop.org \
--cc=rc@hawkwind.utcs.toronto.edu \
--cc=tjg@star.le.ac.uk \
/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).