On Fri, Oct 27, 2006 at 10:34:16AM +0100, Philip Hazel wrote:
> On Fri, 27 Oct 2006, Chris Lightfoot wrote:
>
> > well, as a trivial example here (with a moderately complex
> > config with some perl),
> >
> > echo QUIT | time exim -bhc 1.2.3.4
> >
> > uses about 0.14s user + system time (and about the same
> > for exim -bt chris or exim -bP > /dev/null).
>
> The simplest test would be
>
> time exim -bV
>
> That reads the config and does very little else. When I run it on my
> workstation I get:
>
> real 0m0.020s
> user 0m0.008s
> sys 0m0.004s
>
> which is an order of magnitude less that your figure! My configuration
> is pretty standard.
Comparing the timings for exim and perl -c /etc/mail/exim.pl
shows that here at least most of the time (~0.12s) is
spent in perl startup. Possibly that's not all that
surprising ;-)
--
``Nothing so gives the illusion of intelligence
as personal association with large sums of money.''
(John Kenneth Galbraith)