2024-11-17 23:40:06 -06:00
|
|
|
labels = ['Null 25 GiB file', 'Random 25 GiB file', '100 million-sided polygon data', 'Linux LTS kernel', '1024 null files (avg)', '1024 random files (avg)']
|
|
|
|
data = [
|
2024-11-17 15:42:47 -06:00
|
|
|
{
|
|
|
|
label: 'DwarFS',
|
2024-11-17 23:40:06 -06:00
|
|
|
data: [96.32895, 109.78266, 96.3926, 94.55468, 0.014287000000000001, 0.013595000000000001],
|
2024-11-17 15:42:47 -06:00
|
|
|
backgroundColor: 'rgb(255, 99, 132)',
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
label: 'fuse-archive (tar)',
|
2024-11-17 23:40:06 -06:00
|
|
|
data: [98.66828, 94.52984, 96.61561, 93.25915, 0.013405, 0.013465],
|
2024-11-17 15:42:47 -06:00
|
|
|
backgroundColor: 'rgb(75, 192, 192)',
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
label: 'Btrfs',
|
2024-11-17 23:40:06 -06:00
|
|
|
data: [96.79632, 97.642, 98.92292, 91.41823, 0.0032860000000000003, 0.003326],
|
2024-11-17 15:42:47 -06:00
|
|
|
backgroundColor: 'rgb(54, 162, 235)',
|
|
|
|
},
|
|
|
|
|
|
|
|
]
|
2024-11-17 01:19:52 -06:00
|
|
|
|
2024-11-17 23:40:06 -06:00
|
|
|
config = {
|
2024-11-17 15:42:47 -06:00
|
|
|
type: 'bar',
|
|
|
|
data: {
|
|
|
|
datasets: data,
|
|
|
|
labels
|
|
|
|
},
|
|
|
|
options: {
|
|
|
|
plugins: {
|
|
|
|
title: {
|
|
|
|
display: true,
|
|
|
|
text: 'Sequential Read Latency - in ms'
|
|
|
|
},
|
|
|
|
},
|
|
|
|
responsive: true,
|
|
|
|
interaction: {
|
|
|
|
intersect: false,
|
|
|
|
},
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
Chart.defaults.borderColor = "#eee"
|
2024-11-17 01:19:52 -06:00
|
|
|
Chart.defaults.color = "#eee";
|
2024-11-17 23:40:06 -06:00
|
|
|
ctx = document.getElementById("seq_read_latency_chart");
|
2024-11-17 01:19:52 -06:00
|
|
|
new Chart(ctx, config);
|