{% extends "tasks/view.html" %} {% block additional %} {% if task.ctx.get('chart_data') %} {% set results = task.ctx['chart_data'] %}

Результаты тестирования (всего [{{ task.ctx['sorted_times_count'] }}] запросов с временами)

{% for val in ('99', '98', '97', '96', '95', '90', '80', '50', '20', '10') %} {% endfor %}
99% 98% 97% 96% 95% 90% 80% 50% 20% 10%
{{ ((results[val] | float) * 1000) | int }}
Время report_time, ms

Benchmark results:

{% for title in ('95','50') %} {% endfor %} {% for value in (results['95'],results['50']) %} {% endfor %}
Percentile{{ title }}
Value (ms){{ ((value | float) * 1000 | int) }}
{% endif %} {% endblock %}