[Twisted-Python] cBanana diffs

Bruce Mitchener bruce at cubik.org
Sat Jul 13 23:52:26 EDT 2002


Bruce Mitchener wrote:
> Pure Python:  22.56 seconds
> CVS cBanana:   1.15 seconds
> My cBanana:    0.98 seconds

These changes plus new ones are now in CVS.

Current numbers from my bananabench look like:

Pure Python:
Encode took 11.9482729435 seconds
Decode took 22.5815860033 seconds

Old cBanana:
Encode took 0.707735061646 seconds
Decode took 1.09367489815 seconds

Current cBanana:
Encode took 0.633662939072 seconds
Decode took 0.930390954018 seconds

I'm not sure why the old cBanana dropped from 1.15 seconds to 1.09 
seconds, but I do know that the additional changes to cBanana.c were 
responsible for the drop from 0.98 to 0.93 seconds.

I'll finish up work on bananabench.py and check it in within a couple of 
days.

Cheers,

  - Bruce





More information about the Twisted-Python mailing list