Fix graphs
This commit is contained in:
parent
76215a297d
commit
7247f9e6e3
|
@ -57,6 +57,8 @@ jobs:
|
|||
run: |
|
||||
b2 authorize-account ${{ secrets.CICD_CLI_B2_KEY_ID }} ${{ secrets.CICD_CLI_B2_APPLICATION_KEY }}
|
||||
./run
|
||||
node graph.js
|
||||
b2 sync ./graphs/ b2://${{ secrets.CICD_CLI_B2_BUCKET_NAME }}/minify-html/bench/${{ steps.version.outputs.VERSION }}/js/
|
||||
MHB_HTML_ONLY=1 ./run
|
||||
node graph.js
|
||||
b2 sync ./graphs/ b2://${{ secrets.CICD_CLI_B2_BUCKET_NAME }}/minify-html/bench/${{ steps.version.outputs.VERSION }}/core/
|
||||
|
|
|
@ -19,8 +19,8 @@ A Rust HTML minifier meticulously optimised for speed and effectiveness, with bi
|
|||
|
||||
Comparison with [html-minfier](https://github.com/kangax/html-minifier) and [minimize](https://github.com/Swaagie/minimize), run on the top web pages. [See the breakdown here.](./bench)
|
||||
|
||||
<img width="435" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.0/core/average-speeds.png">
|
||||
<img width="435" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.0/core/average-sizes.png">
|
||||
<img width="415" alt="Chart showing speed of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.0/core/average-speeds.png">
|
||||
<img width="415" alt="Chart showing compression of HTML minifiers" src="https://wilsonl.in/minify-html/bench/0.6.0/core/average-sizes.png">
|
||||
|
||||
The [onepass](https://github.com/wilsonzlin/minify-html/tree/master/rust/onepass) variant is even more optimised for speed. See its [README](https://github.com/wilsonzlin/minify-html/tree/master/rust/onepass) for more details.
|
||||
|
||||
|
|
|
@ -81,6 +81,7 @@ const averageChartOptions = (label) => ({
|
|||
scales: {
|
||||
xAxes: [
|
||||
{
|
||||
barPercentage: 0.5,
|
||||
gridLines: {
|
||||
display: false,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue