Move timing info to the end of the page
This commit is contained in:
parent
a998e456eb
commit
98b7c4a89d
|
@ -125,12 +125,6 @@
|
||||||
</li>
|
</li>
|
||||||
<li>Bristol Sunrise: {{ sunrise.strftime("%H:%M:%S") }} /
|
<li>Bristol Sunrise: {{ sunrise.strftime("%H:%M:%S") }} /
|
||||||
Sunset: {{ sunset.strftime("%H:%M:%S") }}</li>
|
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>
|
</ul>
|
||||||
|
|
||||||
<h3>Stock markets</h3>
|
<h3>Stock markets</h3>
|
||||||
|
@ -194,6 +188,19 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
<div class="mt-2">
|
||||||
|
<h5>Page generation time</h5>
|
||||||
|
<ul>
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js" integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL" crossorigin="anonymous"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
Loading…
Reference in a new issue