summaryrefslogtreecommitdiff
path: root/nemesis/html_gen.py
diff options
context:
space:
mode:
authorbd <bdunahu@operationnull.com>2025-10-18 21:05:37 -0400
committerbd <bdunahu@operationnull.com>2025-10-18 21:05:37 -0400
commitc2c3701804c7b57ceb4e1bfaae157b7bb000becc (patch)
treea390028e2693867d4ee75bc23fbfe7d201eb4313 /nemesis/html_gen.py
parent1a439653264adc3d9648645d2bb4006f331c1722 (diff)
correct throughput graph (obvious mistake I didn't notice)
Diffstat (limited to 'nemesis/html_gen.py')
-rw-r--r--nemesis/html_gen.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/nemesis/html_gen.py b/nemesis/html_gen.py
index bffa748..3c6fbef 100644
--- a/nemesis/html_gen.py
+++ b/nemesis/html_gen.py
@@ -8,7 +8,7 @@ TRIM_PERCENT = 0.05
def get_color(name):
hash_object = hashlib.md5(name.encode())
color_index = int(hash_object.hexdigest(), 16) % 360
- return f'hsl({color_index}, 100%, 50%)'
+ return f'hsl({color_index}, 90%, 30%)'
def plot_results(results, output_file, input_file):
# determine the number of loops we have data for
@@ -97,8 +97,8 @@ 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=False,
+ hovertext=latency_hover_text,
+ showlegend=True,
), row=1, col=col)
fig.add_trace(go.Scatter(
@@ -116,7 +116,7 @@ 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,
+ hovertext=max_latency_hover_text,
showlegend=False,
), row=3, col=col)