https://github.com/distributedlife/clone-performance
Testing the performance of different cloning approaches
https://github.com/distributedlife/clone-performance
Last synced: 8 months ago
JSON representation
Testing the performance of different cloning approaches
- Host: GitHub
- URL: https://github.com/distributedlife/clone-performance
- Owner: distributedlife
- Created: 2016-05-24T02:17:28.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-05-24T02:25:12.000Z (about 10 years ago)
- Last Synced: 2025-03-12T21:35:20.004Z (over 1 year ago)
- Language: JavaScript
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Clone Performance
~~~shell
Empty Object Test
lodash.cloneDeep x 345,466 ops/sec ±2.78% (80 runs sampled)
stringify x 1,593,270 ops/sec ±2.21% (81 runs sampled)
Immutable.clone x 74,498,842 ops/sec ±3.44% (75 runs sampled)
Fastest is Immutable.clone
Small ~25K Object Test
lodash.cloneDeep x 309 ops/sec ±1.94% (77 runs sampled)
stringify x 1,499 ops/sec ±1.63% (80 runs sampled)
Immutable.clone x 79,360,345 ops/sec ±1.31% (83 runs sampled)
Fastest is Immutable.clone
Medium ~100K Object Test
lodash.cloneDeep x 149 ops/sec ±1.87% (73 runs sampled)
stringify x 264 ops/sec ±4.98% (68 runs sampled)
Immutable.clone x 73,657,061 ops/sec ±3.36% (79 runs sampled)
Fastest is Immutable.clone
Large ~1000K Object Test
lodash.cloneDeep x 21.95 ops/sec ±7.02% (40 runs sampled)
stringify x 43.64 ops/sec ±4.66% (56 runs sampled)
Immutable.clone x 77,332,006 ops/sec ±1.94% (78 runs sampled)
Fastest is Immutable.clone
~~~