Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
lodash isPlainobject vs valina JS
(version: 0)
Comparing performance of:
lodash vs typeof
Created:
2 years ago
by:
Guest
Jump to the latest result
HTML Preparation code:
<script src='https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.5/lodash.min.js'></script>
Script Preparation code:
var x = {'this': 'is', 'a': 'test', 'object': 52 }
Tests:
lodash
var y = _.isPlainObject(x)
typeof
var y = (typeof(x) === 'object' && !Array.isArray(x) && x !== null)
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
lodash
typeof
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.isFinite vs native isFinite
isFunction vs typeof function 6
lodash isplainobject vs typeof object
lodash isobject vs typeof vs toString
Comments
Confirm delete:
Do you really want to delete benchmark?