Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Lodash isEqual test3
(version: 0)
Test on isEqual performance2
Comparing performance of:
_.concat vs concat vs expand
Created:
2 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/npm/lodash@4.17.4/lodash.min.js"></script>
Script Preparation code:
var arr = Array.from({length: 100000}, () => Math.floor(Math.random() * 40));; var arr2 = Array.from({length: 100000}, () => Math.floor(Math.random() * 40));; window.arr = arr; window.arr2= arr2;
Tests:
_.concat
_.concat(window.arr,window.arr2);
concat
window.arr.concat(window.arr2)
expand
window.arr.push(...window.arr2)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
_.concat
concat
expand
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!
Comments
Confirm delete:
Do you really want to delete benchmark?