[Mailman-Developers] 2.1.8 documentation mismatch

Barry Warsaw barry at python.org
Fri Jun 9 17:09:35 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 08 Jun 2006 17:06:43 +0100
Ian Eiloart <iane at sussex.ac.uk> wrote:

> That's fair enough. I do have an idea about how to use a python
> script with Exim. I don't know enough to make it efficient, though.
> Maybe there's a problem with my python installation, or the way that
> I invoke it, but it seems that even a simple query takes four or five
> seconds to run:
> 
> rinka-12 # date ; /local/mailman/bin/list_members ian-test4 ; date
> Thu Jun  8 16:47:09 BST 2006
> foo at example.ac.uk
> bar at example.ac.uk
> baz at example.ac.uk
> Thu Jun  8 16:47:13 BST 2006
> 
> But, it takes about 0.7 seconds to print "hello world", and truss
> shows a lot of files being opened just to get a list of members.

You should definitely use time(1) instead, but to open and print a 3
member list should be nearly instantaneous.  FWIW, it only takes me
about 1/2 second to do the same on a 2500 member list on fairly old h/w.

- -Barry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)

iQCVAwUBRImPMHEjvBPtnXfVAQICTQQArHcq2KOwZuFnRFj+gwJn+N2HAuNT7qwD
epQwc+zEfrSJ8Q1VECMh+g9/nDSHI2h7sp10ST46NMaj60Fyhr7TahSrfNsEZzgQ
5jhuQAPA0wdKUFciCVIRNrrkJCLJLIMjQ6sJXDil2BVT858MlR+XvrH77cahw4HZ
O/VCDexviSQ=
=Id8s
-----END PGP SIGNATURE-----


More information about the Mailman-Developers mailing list