Show timings for index page data gathering
This commit is contained in:
parent
cd0ffb3390
commit
1453c4015c
2 changed files with 49 additions and 20 deletions
|
|
@ -125,6 +125,12 @@
|
|||
</li>
|
||||
<li>Bristol Sunrise: {{ sunrise.strftime("%H:%M:%S") }} /
|
||||
Sunset: {{ sunset.strftime("%H:%M:%S") }}</li>
|
||||
<li>Data gather took {{ "%.1f" | format(data_gather_seconds) }} seconds</li>
|
||||
<li>Stock market open/close took
|
||||
{{ "%.1f" | format(stock_market_times_seconds) }} seconds</li>
|
||||
{% for name, seconds in timings %}
|
||||
<li>{{ name }} took {{ "%.1f" | format(seconds) }} seconds</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
||||
<h3>Stock markets</h3>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue