Skip to content

Commit

Permalink
docs: update benchmarks after the change
Browse files Browse the repository at this point in the history
  • Loading branch information
epoberezkin committed Nov 30, 2019
1 parent aca6575 commit 16da7a4
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,18 +59,18 @@ console.log(equal(Int16Array([1, 2]), Int16Array([1, 2]))); // true
Node.js v12.6.0:

```
fast-deep-equal x 263,304 ops/sec ±0.57% (86 runs sampled)
fast-deep-equal/es6 x 210,257 ops/sec ±0.34% (89 runs sampled)
fast-equals x 233,740 ops/sec ±0.40% (91 runs sampled)
nano-equal x 187,624 ops/sec ±0.30% (93 runs sampled)
shallow-equal-fuzzy x 139,305 ops/sec ±0.37% (91 runs sampled)
underscore.isEqual x 72,636 ops/sec ±0.26% (89 runs sampled)
lodash.isEqual x 37,684 ops/sec ±1.14% (91 runs sampled)
deep-equal x 2,390 ops/sec ±0.36% (88 runs sampled)
deep-eql x 36,353 ops/sec ±0.55% (90 runs sampled)
ramda.equals x 12,169 ops/sec ±0.39% (92 runs sampled)
util.isDeepStrictEqual x 46,720 ops/sec ±0.38% (92 runs sampled)
assert.deepStrictEqual x 461 ops/sec ±0.72% (86 runs sampled)
fast-deep-equal x 261,950 ops/sec ±0.52% (89 runs sampled)
fast-deep-equal/es6 x 212,991 ops/sec ±0.34% (92 runs sampled)
fast-equals x 230,957 ops/sec ±0.83% (85 runs sampled)
nano-equal x 187,995 ops/sec ±0.53% (88 runs sampled)
shallow-equal-fuzzy x 138,302 ops/sec ±0.49% (90 runs sampled)
underscore.isEqual x 74,423 ops/sec ±0.38% (89 runs sampled)
lodash.isEqual x 36,637 ops/sec ±0.72% (90 runs sampled)
deep-equal x 2,310 ops/sec ±0.37% (90 runs sampled)
deep-eql x 35,312 ops/sec ±0.67% (91 runs sampled)
ramda.equals x 12,054 ops/sec ±0.40% (91 runs sampled)
util.isDeepStrictEqual x 46,440 ops/sec ±0.43% (90 runs sampled)
assert.deepStrictEqual x 456 ops/sec ±0.71% (88 runs sampled)
The fastest is fast-deep-equal
```
Expand Down
2 changes: 1 addition & 1 deletion benchmark/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
"shallow-equal-fuzzy": "latest",
"underscore": "latest"
}
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Fast deep equal",
"main": "index.js",
"scripts": {
"eslint": "eslint *.js benchmark spec",
"eslint": "eslint *.js benchmark/*.js spec/*.js",
"build": "node build",
"benchmark": "npm i && npm run build && cd ./benchmark && npm i && node ./",
"test-spec": "mocha spec/*.spec.js -R spec",
Expand Down

0 comments on commit 16da7a4

Please sign in to comment.