Re: 40% slowdown with dynamic /bin/sh

From: boyd, rounin <boyd_at_insultant.net>
Date: Tue, 25 Nov 2003 11:53:33 +0100
> That's a more interesting result and more comparable to Drew's test.
> It doesn't necessarily invalidate Drew's results - /bin/sh has 3
> shared libraries and is locale-aware whereas /usr/bin/test has 1
> shared library and doesn't rely on the locale.  /usr/bin/true is also
> significantly smaller (implying less relocation requirements).
> /bin/sh could reasonably be expected to take longer to startup then
> /usr/bin/test.

another can of worms.  various shells have test, true and false built in.
so, you have to be very careful in writing a shell comparision benchmark.

to complicate matters, ksh (statically linked) has _always_ been faster than sh.
Received on Tue Nov 25 2003 - 01:55:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:30 UTC