[Zope-dev] ZPT Optimization Opportunity

Fred Drake fdrake at gmail.com
Mon Sep 27 10:47:29 EDT 2004


On Sat, 25 Sep 2004 22:08:06 -0400, Tres Seaver <tseaver at zope.com> wrote:
> --------------- Before the patch -------------------------------
> >>> Zope.debug('/test_iter', t=1)
> 250.2 milliseconds
> >>> Zope.debug('/test_iter', t=1)
> 106.7 milliseconds
> >>> Zope.debug('/test_iter', t=1)
> 106.5 milliseconds
> >>> Zope.debug('/test_iter', t=1)
> 124.6 milliseconds
> ----------------------------------------------------------------
> 
> --------------- After the patch --------------------------------
>  >>> Zope.debug('/test_iter', t=1)
> 249.2 milliseconds
>  >>> Zope.debug('/test_iter', t=1)
> 107.2 milliseconds
>  >>> Zope.debug('/test_iter', t=1)
> 125.0 milliseconds
>  >>> Zope.debug('/test_iter', t=1)
> 162.1 milliseconds
> ----------------------------------------------------------------

Are these properly labelled?  The way I read this is that things are
just slightly faster without the patch.  Is there anything to indicate
that memory usage is actually improved?


  -Fred

-- 
Fred L. Drake, Jr.    <fdrake at gmail.com>
Zope Corporation


More information about the Zope-Dev mailing list