Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
isNumber vs typeof
lodash vs es6
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0
Browser:
Firefox 115
Operating system:
Mac OS X 10.15
Device Platform:
Desktop
Date tested:
2 years ago
es6
686.4M/s
lodash
537.9M/s
View exact numbers
Test name
Executions per second
✓
es6
686,353,472 Ops/sec
lodash
537,935,936 Ops/sec
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/g/lodash@4(lodash.min.js+lodash.fp.min.js)"></script>
Tests:
lodash
_.isNumber(3);
es6
typeof 3 === 'number';