Browse Source

Profiling

pull/86/head
Jure Šorn 4 years ago
parent
commit
8e007a7e17
2 changed files with 2 additions and 2 deletions
  1. 2
      README.md
  2. 2
      index.html

2
README.md

@ -2528,7 +2528,7 @@ duration = time() - start_time
#### High performance: #### High performance:
```python ```python
from time import perf_counter from time import perf_counter
start_time = perf_counter() # Seconds since restart.
start_time = perf_counter() # Seconds since the restart.
... ...
duration = perf_counter() - start_time duration = perf_counter() - start_time
``` ```

2
index.html

@ -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 <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 duration = perf_counter() - start_time
</code></pre></div> </code></pre></div>

Loading…
Cancel
Save