[TIP] tests speed

Marius Gedminas marius at gedmin.as
Wed Feb 13 06:53:54 PST 2013


On Wed, Feb 13, 2013 at 01:40:26PM +0000, andrea crotti wrote:
> I'm trying to make sure that all my tests run as fast as possible, and
> they actually do:
> 
> Ran 44 tests in 0.011s
> 
> But the problem is that the actual time they take to run is much different:
> 
> OK
> 
> real	0m12.105s
> user	0m11.873s
> sys	0m0.170s
> 
> where are these 12 seconds being lost then? (using nose)

Crawling directory trees looking for test files?  Importing stuff?

Marius Gedminas
-- 
No sane person should use frame buffers if they have the choice.
        -- Linus Torvalds on lkml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20130213/97f10ba5/attachment.pgp>


More information about the testing-in-python mailing list