[TIP] tests speed

Julian Berman julian at grayvines.com
Wed Feb 13 06:59:56 PST 2013


And being that nose is not particularly special, it's just python code, you
probably could try just using the profile module to get a quick picture of
what exactly it is.
On Feb 13, 2013 9:55 AM, "Marius Gedminas" <marius at gedmin.as> wrote:

> 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
>
> _______________________________________________
> testing-in-python mailing list
> testing-in-python at lists.idyll.org
> http://lists.idyll.org/listinfo/testing-in-python
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20130213/2c19692b/attachment.htm>


More information about the testing-in-python mailing list