Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Lodash vs Lodash FP vs Immer
(version: 0)
Comparing performance of:
Lodash FP vs Native vs Immer
Created:
6 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src='https://cdn.jsdelivr.net/lodash/4.17.4/lodash.fp.min.js'></script> <script src="https://cdn.jsdelivr.net/npm/immer/dist/immer.umd.js"></script>
Script Preparation code:
var array = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'] var reducer = (r, x) => r + x
Tests:
Lodash FP
_.reduce(reducer, '')(array)
Native
array.reduce(reducer, '')
Immer
immer.produce(array, reducer)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
Lodash FP
Native
Immer
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
Lodash reduce vs Lodash FP reduce
Native vs Lodash FP vs Immer
Native vs Lodash vs Lodash FP - v3
Lodash vs Lodash/fp
Comments
Confirm delete:
Do you really want to delete benchmark?