Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #17: Support objects with cycles #91

Closed
wants to merge 3 commits into from
Closed

Fix #17: Support objects with cycles #91

wants to merge 3 commits into from

Conversation

stereobooster
Copy link

@stereobooster stereobooster commented Dec 6, 2020

Fix #17. It is about two times slower

fast-deep-equal x 213,990 ops/sec ±3.08% (87 runs sampled)
fast-deep-equal/es6 x 178,836 ops/sec ±4.32% (87 runs sampled)
fast-deep-equal/es6cycles x 93,331 ops/sec ±2.15% (82 runs sampled)
fast-equals x 195,255 ops/sec ±1.73% (88 runs sampled)
nano-equal x 153,632 ops/sec ±2.80% (84 runs sampled)
shallow-equal-fuzzy x 116,908 ops/sec ±2.22% (82 runs sampled)
underscore.isEqual x 70,706 ops/sec ±1.98% (79 runs sampled)
lodash.isEqual x 34,098 ops/sec ±1.95% (85 runs sampled)
deep-equal x 131 ops/sec ±4.76% (45 runs sampled)
deep-eql x 32,367 ops/sec ±2.64% (80 runs sampled)
ramda.equals x 11,981 ops/sec ±1.75% (83 runs sampled)
util.isDeepStrictEqual x 51,177 ops/sec ±1.19% (91 runs sampled)
assert.deepStrictEqual x 310 ops/sec ±8.39% (67 runs sampled)
The fastest is fast-deep-equal

@stereobooster stereobooster changed the title Support objects with cycles Fix #17: Support objects with cycles Dec 6, 2020
@coveralls
Copy link

coveralls commented Dec 6, 2020

Coverage Status

Coverage remained the same at 100.0% when pulling 2f6ddd6 on stereobooster:cycles-2 into a8e7172 on epoberezkin:master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Break cycles
3 participants