[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] FormMail is SO slow.
- Subject: Re: [cobalt-users] FormMail is SO slow.
- From: Kris Dahl <krislists@xxxxxxxxxxxxx>
- Date: Wed Aug 23 09:26:34 2000
on 8/23/00 8:41 AM, Patrick Béart at patrick@xxxxxxxxxxxxxxxxxxx wrote:
> At 3:47 AM -0400 8/23/00, Cmopollux@xxxxxxx wrote:
>> Has anyone had problams running Formmail. For me it takes almost 2 min to
>> process.
>
> FormMail.pl (Matt Wright's script) is a poorly written PERL
> program. That it runs slow is most likely indicative of both of these
> facts.
>
> If you want it to run faster, consider a compiled (C, or
> similar) program, or a better PERL script. I use "Mailto.cgi",
> instead.
Give me a break. You are saying that it is slow because it is written in
PERL? DO you realize how trivial the speed difference between interpreted
and compiled languages are on a task such as this? The different is
non-existent.
As far as it being a poorly written script, I don't think it is too bad.
There are better ones out there (I like the one that I wrote the best :))
The problem here is probably either a DNS configuration problem,
SMTP/Sendmail problem or similar.
This is *such* a trivial task that you could write a shell script to perform
it and it wouldn't be much slower than a compiled c program.
jeesh.
-k