Skip to content

Commit

Permalink
Merge pull request #43 from bem-sdk/bench-fix
Browse files Browse the repository at this point in the history
Fix benchmarks
  • Loading branch information
blond committed Apr 16, 2016
2 parents d4cdf2e + 504bdb2 commit 9969c68
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 47 deletions.
29 changes: 0 additions & 29 deletions bench/.jshintrc

This file was deleted.

26 changes: 13 additions & 13 deletions bench/README.md
@@ -1,29 +1,29 @@
benchmarks
==========

**2016-04-15** Latest results, using `Node.js@4` and latest versions of modules:
**2016-04-16** Latest results, using `Node.js@4` and latest versions of modules:

* `enb@0.15.0`
* `scan-level@0.0.4`

```
flat level
bem-walk x 12,790 ops/sec ±2.39% (76 runs sampled) mean 0.08 ms
enb x 10,585 ops/sec ±1.03% (81 runs sampled) mean 0.09 ms
scanl x 12,325 ops/sec ±1.99% (81 runs sampled) mean 0.08 ms
bem-walk x 12,090 ops/sec ±4.70% (72 runs sampled) mean 0.08 ms
enb x 9,829 ops/sec ±2.19% (81 runs sampled) mean 0.10 ms
scanl x 12,234 ops/sec ±2.59% (81 runs sampled) mean 0.08 ms
nested level
bem-walk x 4,494 ops/sec ±2.43% (77 runs sampled) mean 0.22 ms
enb x 6,189 ops/sec ±1.41% (82 runs sampled) mean 0.16 ms
scanl x 4,509 ops/sec ±2.80% (78 runs sampled) mean 0.22 ms
bem-walk x 4,637 ops/sec ±2.05% (79 runs sampled) mean 0.22 ms
enb x 6,034 ops/sec ±1.82% (81 runs sampled) mean 0.17 ms
scanl x 4,500 ops/sec ±2.29% (76 runs sampled) mean 0.22 ms
bem-bl
bem-walk x 204 ops/sec ±2.38% (78 runs sampled) mean 4.91 ms
enb x 149 ops/sec ±1.36% (77 runs sampled) mean 6.71 ms
scanl x 136 ops/sec ±2.63% (78 runs sampled) mean 7.37 ms
bem-walk x 207 ops/sec ±1.20% (79 runs sampled) mean 4.83 ms
enb x 147 ops/sec ±1.68% (76 runs sampled) mean 6.79 ms
scanl x 143 ops/sec ±1.90% (81 runs sampled) mean 7.00 ms
bem-components
bem-walk x 133 ops/sec ±1.48% (76 runs sampled) mean 7.50 ms
enb x 87.44 ops/sec ±1.79% (80 runs sampled) mean 11.44 ms
scanl x 85.13 ops/sec ±1.65% (78 runs sampled) mean 11.75 ms
bem-walk x 132 ops/sec ±2.13% (76 runs sampled) mean 7.58 ms
enb x 86.25 ops/sec ±1.98% (79 runs sampled) mean 11.59 ms
scanl x 80.86 ops/sec ±3.02% (74 runs sampled) mean 12.37 ms
```
8 changes: 4 additions & 4 deletions bench/fixtures/bower.json
@@ -1,9 +1,9 @@
{
"name": "enb-bem-techs-bench-fixtures",
"name": "bem-walk-bench-fixtures",
"private": true,
"dependencies": {
"bem-bl": "2.10.0",
"bem-core": "2.6.0",
"bem-components": "2.2.1"
"bem-bl": "2.11.0",
"bem-core": "2.9.0",
"bem-components": "2.5.0"
}
}
2 changes: 1 addition & 1 deletion bench/package.json
Expand Up @@ -4,6 +4,6 @@
"dependencies": {
"enb": "0.15.0",
"scan-level": "0.0.4",
"vow": "0.4.10"
"vow": "0.4.12"
}
}
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -24,6 +24,7 @@
"bem-naming": "1.0.1"
},
"devDependencies": {
"async": "2.0.0-rc.3",
"ava": "0.14.0",
"benchmark": "2.1.0",
"coveralls": "2.11.9",
Expand Down

0 comments on commit 9969c68

Please sign in to comment.