[Zope3-dev] AdapterLookup C optimizations 'timeit' benchmarks

Jim Fulton jim at zope.com
Sun Aug 14 10:46:01 EDT 2005


Benji York wrote:
> Ruslan Spivak wrote:
> 
>> By my estimations(i hope i'm not wrong :) C version gives ~20-26% speed
>> up for different methods.
> 
> 
> Running the functional tests for a Zope 3 based systems with 434 tests 
> yielded (best of 3) a time of 1:12.51 for the trunk and 1:12.32 for the 
> branch.  That's about a 0.25 percent improvement.
> 
> Unfortunately that doesn't seem like enough to justify the port to C. 

Agreed.

It's curious that this had such a small impact.  I haven't had a
chance to to look at the changes.

Jim

-- 
Jim Fulton           mailto:jim at zope.com       Python Powered!
CTO                  (540) 361-1714            http://www.python.org
Zope Corporation     http://www.zope.com       http://www.zope.org


More information about the Zope3-dev mailing list