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!

-- 
<Matt/>

Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org | AxKit: http://axkit.org

Reply via email to