|
|
@ -2204,7 +2204,7 @@ duration = time() - start_time |
|
|
|
|
|
|
|
|
|
|
|
<div><h4 id="highperformance">High performance:</h4><pre><code class="python language-python hljs"><span class="hljs-keyword">from</span> time <span class="hljs-keyword">import</span> perf_counter |
|
|
|
start_time = perf_counter() <span class="hljs-comment"># Seconds since restart.</span> |
|
|
|
start_time = perf_counter() <span class="hljs-comment"># Seconds since the restart.</span> |
|
|
|
... |
|
|
|
duration = perf_counter() - start_time |
|
|
|
</code></pre></div> |
|
|
|