<p dir="ltr">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.</p>
<div class="gmail_quote">On Feb 13, 2013 9:55 AM, "Marius Gedminas" <<a href="mailto:marius@gedmin.as">marius@gedmin.as</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Wed, Feb 13, 2013 at 01:40:26PM +0000, andrea crotti wrote:<br>
> I'm trying to make sure that all my tests run as fast as possible, and<br>
> they actually do:<br>
><br>
> Ran 44 tests in 0.011s<br>
><br>
> But the problem is that the actual time they take to run is much different:<br>
><br>
> OK<br>
><br>
> real 0m12.105s<br>
> user 0m11.873s<br>
> sys 0m0.170s<br>
><br>
> where are these 12 seconds being lost then? (using nose)<br>
<br>
Crawling directory trees looking for test files? Importing stuff?<br>
<br>
Marius Gedminas<br>
--<br>
No sane person should use frame buffers if they have the choice.<br>
-- Linus Torvalds on lkml<br>
<br>_______________________________________________<br>
testing-in-python mailing list<br>
<a href="mailto:testing-in-python@lists.idyll.org">testing-in-python@lists.idyll.org</a><br>
<a href="http://lists.idyll.org/listinfo/testing-in-python" target="_blank">http://lists.idyll.org/listinfo/testing-in-python</a><br>
<br></blockquote></div>