Toggle navigation
MeasureThat
.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Some vs Find (40k dataset)
(version: 1)
Comparing performance of:
Find vs Some
Created:
2 months ago
by:
Guest
Go to the latest result
Script Preparation code:
var data = [] for (let i = 0; i < 15000; ++i) data.push({ username: 'toto' }) data.push({ username: 'titi' }) for (let i = 0; i < 25000; ++i) data.push({ username: 'toto' })
Tests:
Find
data.find(e => e.username === 'titi')
Some
data.some(e => e.username === 'titi')
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Find
Some
Fastest:
N/A
Slowest:
N/A
Latest run results:
Run details:
(Test run date:
2 months ago
)
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/148.0.0.0 Safari/537.36
Browser/OS:
Chrome 148 on Mac OS X 10.15.7
View result in a separate tab
Embed
Embed Benchmark Result
Some
74K/s
Find
69K/s
View exact numbers
Test name
Executions per second
✓
Some
74,130 Ops/sec
Find
68,784 Ops/sec
Related benchmarks
Some vs Find
Some vs !!Find
Some vs Find hard
Some vs Find test2
Some vs Find bool
Some vs Find early find
Comments
Confirm delete:
Do you really want to delete benchmark?