diff --git a/README.md b/README.md
index b92aaf6..307c185 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ Speed and effectiveness of Node.js version compared to [html-minfier](https://gi
Used average of results from running on [common web pages](./bench/tests). See [bench](./bench) folder for more details.
-![Chart showing speed of HTML minifiers](./bench/speed.png) ![Chart showing effectiveness of HTML minifiers](./bench/minification.png)
+
## Usage
diff --git a/bench/graph.js b/bench/graph.js
index f4af3cc..94c4754 100644
--- a/bench/graph.js
+++ b/bench/graph.js
@@ -18,6 +18,7 @@ const chartOptions = (title, displayLegend, yTick = t => t) => ({
display: true,
text: title,
fontColor: '#333',
+ fontSize: 24,
},
scales: {
xAxes: [{
@@ -27,6 +28,7 @@ const chartOptions = (title, displayLegend, yTick = t => t) => ({
},
ticks: {
fontColor: '#666',
+ fontSize: 20,
},
}],
yAxes: [{
@@ -38,6 +40,7 @@ const chartOptions = (title, displayLegend, yTick = t => t) => ({
max: 1,
callback: yTick,
fontColor: '#666',
+ fontSize: 20,
},
}],
},
@@ -52,7 +55,7 @@ const chartOptions = (title, displayLegend, yTick = t => t) => ({
});
const renderChart = async (file, cfg) => {
- const chart = new chartjs(435, 320);
+ const chart = new chartjs(900, 650);
await chart.drawChart(cfg);
await chart.writeImageToFile('image/png', path.join(__dirname, `${file}.png`));
};
diff --git a/bench/minification.png b/bench/minification.png
index 970b1a9..829e982 100644
Binary files a/bench/minification.png and b/bench/minification.png differ
diff --git a/bench/speed.png b/bench/speed.png
index 9337d80..a92eec4 100644
Binary files a/bench/speed.png and b/bench/speed.png differ