Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
Feature Requests
FAQ
Register
Log In
Run results for:
findkey vs find
test dinke find
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/134.0.0.0 Safari/537.36
Browser:
Chrome 134
Operating system:
Windows
Device Platform:
Desktop
Date tested:
one year ago
Benchmark engine:
Benchmark.js
findkey
14.3M/s
find
11.6M/s
View exact numbers
Test name
Executions per second
✓
findkey
14,301,879 Ops/sec
find
11,621,913 Ops/sec
HTML Preparation code:
<script src="https://cdn.jsdelivr.net/lodash/4.16.0/lodash.min.js"></script>
Script Preparation code:
var partnerType = {a: 'na', b: 'pos'} var pointOfSaleType = 'na'
Tests:
find
_.find(partnerType, item => item === pointOfSaleType);
findkey
_.findKey(partnerType, item => item === pointOfSaleType);