Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Array.isArray vs Lodash _.isArray
(version: 1)
Comparing performance of:
Array.isArray vs Lodash _.isArray
Created:
6 months ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.21/lodash.min.js'></script>
Script Preparation code:
var arr = ['1', '2', '3', '4', '5'];
Tests:
Array.isArray
var isArray = Array.isArray(arr);
Lodash _.isArray
var isArray = _.isArray(arr);
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Array.isArray
Lodash _.isArray
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
2 months ago
)
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:147.0) Gecko/20100101 Firefox/147.0
Browser/OS:
Firefox 147 on Windows
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
Array.isArray
121882248.0 Ops/sec
Lodash _.isArray
119926616.0 Ops/sec
Related benchmarks:
Lodash.js vs Native isArray
_.isEmpty vs !array || !array.length
_.isEmpty vs Array.length
_.isEmpty vs. Array.length
Lodash.js vs Native ES5 vs instanceof isArray
Lodash.js vs instanceof Array
Lodash.js vs Native isArray1212
Lodash.js vs Native isArray (2023)
Array From vs lodash clone
Comments
Confirm delete:
Do you really want to delete benchmark?