this is so bodged together it's ridiculous
anyways this adds makes the stuff brighter
This commit is contained in:
parent
c2c5c0a677
commit
81f7aa2fa1
3 changed files with 15 additions and 2 deletions
|
@ -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";')
|
||||
|
|
|
@ -87,7 +87,8 @@
|
|||
<code>data/bulk.csv</code> for the single and bulk files,
|
||||
respectively.</p>
|
||||
<h2 id="results">Results</h2>
|
||||
<p>After processing the data with <a
|
||||
<p>After processing <a
|
||||
href="/assets/benchmarking-dwarfs/data/">the data</a> with <a
|
||||
href="/assets/benchmarking-dwarfs/process-data.py">this
|
||||
script</a> to make it a bit easier, I put the resulting graphs
|
||||
in here ↓</p>
|
||||
|
@ -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);
|
||||
</script>
|
||||
<section id="footnotes"
|
||||
|
|
|
@ -120,6 +120,7 @@ let data = [
|
|||
},
|
||||
]
|
||||
|
||||
|
||||
let config = {
|
||||
type: 'bar',
|
||||
data: {
|
||||
|
@ -140,5 +141,9 @@ let config = {
|
|||
}
|
||||
};
|
||||
|
||||
|
||||
Chart.defaults.borderColor = "#eee"
|
||||
Chart.defaults.color = "#eee";
|
||||
|
||||
new Chart(ctx, config);
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue