<p dir="ltr">And being that nose is not particularly special, it&#39;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, &quot;Marius Gedminas&quot; &lt;<a href="mailto:marius@gedmin.as">marius@gedmin.as</a>&gt; 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>
&gt; I&#39;m trying to make sure that all my tests run as fast as possible, and<br>
&gt; they actually do:<br>
&gt;<br>
&gt; Ran 44 tests in 0.011s<br>
&gt;<br>
&gt; But the problem is that the actual time they take to run is much different:<br>
&gt;<br>
&gt; OK<br>
&gt;<br>
&gt; real  0m12.105s<br>
&gt; user  0m11.873s<br>
&gt; sys   0m0.170s<br>
&gt;<br>
&gt; 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>