feat: Add first WIP for engine load time

This commit is contained in:
Myzel394 2024-01-06 22:29:21 +01:00
parent 3535377c9a
commit d4dfec3f3e
No known key found for this signature in database
GPG key ID: 79CC92F37B3E1A2B
3 changed files with 26 additions and 4 deletions

View file

@ -35,7 +35,22 @@
<div id="sidebar">
{%- if number_of_results != '0' -%}
<p id="result_count"><small>{{ _('Number of results') }}: {{ number_of_results }}</small></p>
<p id="result_count">
<small>{{ _('Number of results') }}: {{ number_of_results }}</small>
</p>
<details>
<summary>
<small>Longest loading time: {{ longest_loading_time.load }} from {{ longest_loading_time.engine }}</small>
</summary>
<div>
<ul>
{% for timing in loading_times %}
<li>
<small>{{ timing.load }} from {{ timing.engine }}</small>
</li>
{% endfor %}
</ul>
</details>
{%- endif -%}
{%- if infoboxes -%}