On Thu, May 23, 2002 at 04:09:42PM -0500, Patrick K. O'Brien wrote:
> Ouch! Any idea how much overhead the ptl stuff adds?
It costs some.  Here are the numbers for a version of the demo that
doesn't use ptl:
    Requests per second:    10.54 [#/sec] (mean)
With ptl the demo only did about 6 hits per second.
> So maybe it is just importing in general that slows it down. My sites
> are all single __init__ file driven at this point (at least until they
> grow more).
The ptl import hooks make '__import__' much slower.  My cimport
extension module fixes that problem but it hasn't been tested too much
yet.
  Neil