Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
manidlou committed Jan 19, 2020
1 parent cd6fd45 commit 222775b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
6 changes: 0 additions & 6 deletions benchmark/bm.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand All @@ -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}`)
Expand Down

0 comments on commit 222775b

Please sign in to comment.