From 81f7aa2fa1008efb29a1fcca2ee77d94193aa37b Mon Sep 17 00:00:00 2001
From: askiiart
Date: Sun, 17 Nov 2024 01:03:44 -0600
Subject: [PATCH] this is so bodged together it's ridiculous
anyways this adds makes the stuff brighter
---
assets/benchmarking-dwarfs/process-data.py | 4 +++-
blog/benchmarking-dwarfs.html | 8 +++++++-
blog/benchmarking-dwarfs.md | 5 +++++
3 files changed, 15 insertions(+), 2 deletions(-)
diff --git a/assets/benchmarking-dwarfs/process-data.py b/assets/benchmarking-dwarfs/process-data.py
index a75b7d6..7baf011 100644
--- a/assets/benchmarking-dwarfs/process-data.py
+++ b/assets/benchmarking-dwarfs/process-data.py
@@ -43,7 +43,7 @@ class HelperFunctions:
def sequential_latency():
datasets = {'labels': []}
- with open('assets/benchmarking-dwarfs/original-data/benchmark-data.csv', 'rt') as f:
+ with open('assets/benchmarking-dwarfs/data/benchmark-data.csv', 'rt') as f:
for line in csv.reader(f):
fs = HelperFunctions.get_fs(line[0])
label = HelperFunctions.get_label(line[1])
@@ -142,3 +142,5 @@ let config = {
title = 'Sequential Read Latency'
print(config_code.replace('$title$', title).replace('$timeunit$', largest_time_unit))
+ print('\nChart.defaults.borderColor = "#eee"')
+ print('Chart.defaults.color = "#eee";')
diff --git a/blog/benchmarking-dwarfs.html b/blog/benchmarking-dwarfs.html
index 8fdbf7b..3f64307 100644
--- a/blog/benchmarking-dwarfs.html
+++ b/blog/benchmarking-dwarfs.html
@@ -87,7 +87,8 @@
data/bulk.csv
for the single and bulk files,
respectively.
Results
- After processing the data with After processing the data with this
script to make it a bit easier, I put the resulting graphs
in here ↓
@@ -148,6 +149,7 @@
},
]
+
let config = {
type: 'bar',
data: {
@@ -168,6 +170,10 @@
}
};
+
+ Chart.defaults.borderColor = "#eee"
+ Chart.defaults.color = "#eee";
+
new Chart(ctx, config);