diff --git a/README.md b/README.md index 00dd7ed..8b8e85b 100644 --- a/README.md +++ b/README.md @@ -42,7 +42,6 @@ https://badgen.now.sh/ `npm run bench` on my iMac5K(Late 2014), 3.5G i5, with Node.js 10.5.0: ```bash -generate by short params x 1,085,052 ops/sec ±1.03% (83 runs sampled) generate by long params x 1,046,942 ops/sec ±0.61% (93 runs sampled) generate by full params x 1,266,881 ops/sec ±0.76% (91 runs sampled) ``` diff --git a/bench/index.js b/bench/index.js index b630aa7..b71b9da 100644 --- a/bench/index.js +++ b/bench/index.js @@ -1,12 +1,10 @@ const { Suite } = require('benchmark') const badgen = require('..') -const shortParams = { subject: '1', status: '2' } const longParams = { subject: 'build-build-build', status: 'passing-passing-passing' } const fullParams = { subject: 'license', status: 'MIT', color: 'cyan' } new Suite() - .add('generate by short params', () => badgen(shortParams)) .add('generate by long params ', () => badgen(longParams)) .add('generate by full params ', () => badgen(fullParams)) .on('cycle', event => console.log(String(event.target)))