On Mon, 25 Sep 2000, Matt Sergeant wrote:
> On Mon, 25 Sep 2000, Stas Bekman wrote:
> > On Mon, 25 Sep 2000, Doug MacEachern wrote:
> > > On Mon, 25 Sep 2000, Stas Bekman wrote:
> > > > All you care about is to measure the time between email sending start and
> > > > end (when the process continues on its execution flow). Why should one
> > > > care about the details of internal implementation.
> > > i only skimmed the first part of this thread, but assumed if you're
> > > talking about performance, you'd want to compare the overall impact on
> > > your system(s) of Net::SMTP vs. |qmail-inject. you cannot measure the
> > > overall impact just using Benchmark.pm is all i'm trying to clarify.
> > Yup, you are right. The overall impact is important as well.
> > * Benchmark to see the responce times.
> > * Send lots of emails and watch to compare the overall impact.
> And unfortunately you'll also miss certain issues with that too, unless
> its a live system, for example DNS lookup issues with sending to different
> hosts. The joys of benchmarking code when the network is involved!
Plus the minor fact that email systems seem highly non-deterministic in
general :)
We have some code for London Transport, which seems to be very random
about when it actually sends the email.
MBM
--
Tell me, O Octopus, I begs, / Is those things arms, or is they legs? /
I marvel at thee, Octopus; / If I were thou, I'd call me us. -- Ogden Nash