[Launchpad-dev] Bzr plugin for guessing relevant test modules: Fault line

Robert Collins robertc at robertcollins.net
Wed Jun 1 22:09:13 UTC 2011


On Thu, Jun 2, 2011 at 9:14 AM, John Arbash Meinel
<john at arbash-meinel.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 6/1/2011 10:42 PM, Francis J. Lacoste wrote:
>> We did experiment with this in the past on Launchpad. Getting the coverage
>> data adds a lot (and I do mean a lot) of overhead to the test suite. So it's
>> not something we want to have PQM do on a regular basis.
>>
>>
>
> As I understand it, coverage works by setting the "trace" function. So
> it is equivalent to running under lsprof, etc. So I can certainly
> understand the overhead. I would also not be surprised if coverage isn't
> nearly as tuned as cProfile.

I have an implementation that uses lsprof, but haven't had time to
make the lookup in the resulting data efficient. I'm happy to dig it
up if folk want to play with it.

-Rob



More information about the bazaar mailing list