From 2d0c03a19b8e9b460743b876efed2f47255205af Mon Sep 17 00:00:00 2001 From: Shadab Mohammad Date: Thu, 3 Jul 2025 23:56:39 +1000 Subject: [PATCH] Create index.html --- app/templates/index.html | 220 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 220 insertions(+) create mode 100644 app/templates/index.html diff --git a/app/templates/index.html b/app/templates/index.html new file mode 100644 index 0000000..30d7f11 --- /dev/null +++ b/app/templates/index.html @@ -0,0 +1,220 @@ + + + + + DB Endpoint Latency Checker + + + + + + +
+
+

DB Endpoint Latency Checker

+
+ + +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ + +
+
+
+ + +
+
+ + +
+
+ + +
+ +
+ + {% if result %} +
+

Latency Chart (ms over test time)

+
+ +
+

Latency Results

+
+ + + + + + + + + + + + {% for row in result.details %} + + + + + + + + {% endfor %} + + +
+
+

Summary of Statistics

+ + + + + + + +
P99{{ result.latency_stats.p99 is not none and "%.2f"|format(result.latency_stats.p99) or 'N/A' }} ms
P90{{ result.latency_stats.p90 is not none and "%.2f"|format(result.latency_stats.p90) or 'N/A' }} ms
Average{{ result.latency_stats.avg is not none and "%.2f"|format(result.latency_stats.avg) or 'N/A' }} ms
Mean{{ result.latency_stats.mean is not none and "%.2f"|format(result.latency_stats.mean) or 'N/A' }} ms
StdDev{{ result.latency_stats.stddev is not none and "%.2f"|format(result.latency_stats.stddev) or 'N/A' }} ms
Runs{{ result.latency_stats.runs | default('N/A') }}
+
+ What these statistics mean:
+ P99: 99% of your latency measurements are lower than this value (i.e., only 1% of requests took longer).
+ P90: 90% of your latency measurements are lower than this value (i.e., only 10% of requests took longer).
+ Average: Arithmetic average of all measured latencies.
+ Mean: The same as the average in this context.
+ StdDev: Standard deviation, showing how much your latency varied.
+ Runs: The total number of measurement points.
+
+
+ + {% endif %} +
+ + +