[Twisted-Python] benchmarks for twisted.trial

Gareth Watts gareth at omnipotent.net
Fri Jun 13 15:07:27 EDT 2003

Hi all

I wanted a means of being able to see whether changes to code (eg. bits 
of Woven) were having an impact on performance.  Rather than separate 
benchmarks i thought it'd make sense just to make use of the tests that 
are already written (or write new tests and use those as benchmarks)

So, attached is a small/simple patch to add a --benchmarks <iterations> 
option to trial to give an averaged result after running a test/tests a 
number of times.

A sanity check would be appreciated ;-)



-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: twistedbench.patch
Url: http://twistedmatrix.com/pipermail/twisted-python/attachments/20030613/327a0a69/attachment.txt 

More information about the Twisted-Python mailing list