summaryrefslogtreecommitdiff
path: root/nemesis/html_gen.py
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-11-26 03:00:53 -0500
committerbd <bdunahu@operationnull.com>2025-11-26 03:00:53 -0500
commitd5b874c905907528c5e0c46f9c4b5ff8827fc6db (patch)
tree51de915a85eceb268122978864c68a4252986222 /nemesis/html_gen.py
parentdf45e4380bd325c333ccdd48771b4ceaf36ff4c4 (diff)
Numerous big fixes, target function only selects in event loop
Diffstat (limited to 'nemesis/html_gen.py')
-rw-r--r--nemesis/html_gen.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/nemesis/html_gen.py b/nemesis/html_gen.py
index 89c62d4..70d476b 100644
--- a/nemesis/html_gen.py
+++ b/nemesis/html_gen.py
@@ -40,8 +40,6 @@ def plot_results(results, output_file, input_file):
y_throughput_list = []
y_max_latency_list = []
y_num_callbacks_list = []
- latency_hover_text = []
- max_latency_hover_text = []
for experiment in experiments:
completed_callbacks = experiment[0]
@@ -73,20 +71,11 @@ def plot_results(results, output_file, input_file):
y_max_latency_list.append(max_cb[1])
breakdown = "<br>".join([f" {cb[0]}: {round(cb[1], 4)}" for cb in trimmed_callbacks])
- latency_hover_text.append(
- f"{coro_name}<br>Speedup: {speedup}<br>Trimmed Average Wait ({int(TRIM_PERCENT*100)}%): {round(latency, 4)}<br>Breakdown:<br>{breakdown}"
- )
- max_latency_hover_text.append(
- f"{coro_name}<br>Speedup: {speedup}<br>Max Wait: {round(max_cb[1], 4)}<br>Handle: {max_cb[0]}"
- )
else:
latency = 0
y_latency_list.append(latency)
- latency_hover_text.append(f"{coro_name}<br>Speedup: {speedup}<br>No callbacks")
- max_latency_hover_text.append(f"{coro_name}<br>Speedup: {speedup}<br>No callbacks")
-
# handle throughput graph
throughput = num_callbacks / virtual_run_time if virtual_run_time else 0
y_throughput_list.append(throughput)
@@ -97,7 +86,6 @@ def plot_results(results, output_file, input_file):
mode='markers',
name=coro_name,
marker=dict(color=get_color(coro_name)),
- hovertext=latency_hover_text,
showlegend=True,
), row=1, col=col)
@@ -116,7 +104,6 @@ def plot_results(results, output_file, input_file):
mode='markers',
name=coro_name,
marker=dict(color=get_color(coro_name)),
- hovertext=max_latency_hover_text,
showlegend=False,
), row=3, col=col)