From 222775b25c4734f47a5cdf107ce5c02fb50066e0 Mon Sep 17 00:00:00 2001 From: Mani Maghsoudlou Date: Sun, 19 Jan 2020 01:20:08 -0800 Subject: [PATCH] update readme --- README.md | 3 --- benchmark/bm.js | 6 ------ 2 files changed, 9 deletions(-) diff --git a/README.md b/README.md index 6895ca5..3ea240a 100644 --- a/README.md +++ b/README.md @@ -131,9 +131,6 @@ Running some [benchmark](https://github.com/bestiejs/benchmark.js) tests on thes ```bash Running benchmark tests.. -walk-sync version: 2.0.2 -klaw-sync version: 6.0.0 - root dir length: 1110 walk-sync x 80.71 ops/sec ±1.42% (72 runs sampled) klaw-sync x 160 ops/sec ±1.17% (79 runs sampled) diff --git a/benchmark/bm.js b/benchmark/bm.js index a9e0991..a095c6a 100644 --- a/benchmark/bm.js +++ b/benchmark/bm.js @@ -5,7 +5,6 @@ const mkp = require('mkp') const Benchmark = require('benchmark') const walkSync = require('walk-sync') const klawSync = require('../klaw-sync.js') -const pkg = require('../package.json') const testDir = path.join(__dirname, 'klaw-sync-benchmark-fixtures') const paths = [ @@ -14,12 +13,7 @@ const paths = [ {dirs: `${testDir}/{0..9}/{0..9}/{0..9}/{0..9}`, files: `${testDir}/{0..9}/{0..9}/{0..9}/{0..9}/{0..9}.txt`} // 100,000 ] -const walkSyncVersion = pkg.devDependencies['walk-sync'].slice(1) -const klawSyncVersion = pkg.version - console.log('Running benchmark tests..') -console.log(`\nwalk-sync version: ${walkSyncVersion}`) -console.log(`klaw-sync version: ${klawSyncVersion}`) paths.forEach(p => { setup(p) console.log(`\nroot dir length: ${klawSync(testDir).length}`)