Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Test1212312415
(version: 0)
Comparing performance of:
JS Concat vs _.concat
Created:
3 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 max1 = 10000000; // 10,000,000 (10 Million) var max2 = 10000000; // 10,000,000 (10 Million) var arr = []; for (var i = 0; i <= max1; i++) { arr.push(i); } var arr2 = []; for (var i = 0; i <= max2; i++) { arr2.push(i); } var arr3 = []; //for (var i = 0; i <= max3; i++) { arr3.push(i); }
Tests:
JS Concat
arr.concat(arr2);
_.concat
_.concat(arr,arr2);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
JS Concat
_.concat
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.js vs Nativeыы
Lodash.js vs Native isArrary
Test native unique
Lodash.js vs Native MAGIC
Lodash.js vs Native1
Comments
Confirm delete:
Do you really want to delete benchmark?