b.t.ProfileResult(testtools.ExtendedToOriginalDecorator) : class documentation

Part of bzrlib.tests View In Hierarchy

Generate profiling data for all activity between start and success.

The profile data is appended to the test's _benchcalls attribute and can be accessed by the forwarded-to TestResult.

While it might be cleaner do accumulate this in stopTest, addSuccess is where our existing output support for lsprof is, and this class aims to fit in with that: while it could be moved it's not necessary to accomplish test profiling, nor would it be dramatically cleaner.

Method startTest Undocumented
Method addSuccess Undocumented
Method stopTest Undocumented
def startTest(self, test):
Undocumented
def addSuccess(self, test):
Undocumented
def stopTest(self, test):
Undocumented
API Documentation for Bazaar, generated by pydoctor at 2019-12-09 00:38:27.