From 4688003e5b3fac4f9f1c1831ec631ae802d8c2d8 Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Sat, 6 Feb 2021 00:08:07 +1100 Subject: [PATCH] Show core bench results --- README.md | 2 +- bench/README.md | 2 +- version | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index c38b085..bfc76ee 100644 --- a/README.md +++ b/README.md @@ -12,7 +12,7 @@ Comes with native bindings to Node.js, Python, Java, and Ruby. 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) -Chart showing speed of HTML minifiers Chart showing effectiveness of HTML minifiers +Chart showing speed of HTML minifiers Chart showing effectiveness of HTML minifiers ## Usage diff --git a/bench/README.md b/bench/README.md index 276c91b..cb77d02 100644 --- a/bench/README.md +++ b/bench/README.md @@ -35,7 +35,7 @@ For more information on how the tests are fetched, see [fetch.js](./fetch.js). On this [project's README](../README.md), average graphs are shown. Graphs showing per-test results are shown below: -Chart showing speed of HTML minifiers per test Chart showing effectiveness of HTML minifiers per test +Chart showing speed of HTML minifiers per test Chart showing effectiveness of HTML minifiers per test Since speed depends on the input, speed charts show performance relative to the Node.js minify-html as a percentage. diff --git a/version b/version index 6c64d8e..4abece1 100755 --- a/version +++ b/version @@ -4,7 +4,6 @@ const {readFileSync, writeFileSync} = require('fs'); const {spawnSync} = require('child_process'); -const {join} = require('path'); const currentVersion = /^version = "(\d+)\.(\d+)\.(\d+)"\s*$/m.exec(readFileSync('Cargo.toml', 'utf8')).slice(1).map(n => Number.parseInt(n, 10));