Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Some vs Find lkjsdlksjd
(version: 1)
Comparing performance of:
Find vs Some
Created:
5 months ago
by:
Guest
Jump to the latest result
Script Preparation code:
var data = [] for (let i = 0; i < 5000; ++i) data.push({ username: 'toto' }) data.push({ username: 'titi' }) for (let i = 0; i < 2500; ++i) data.push({ username: 'toto' }) function isTiti(e) { return e.username === 'titi' }
Tests:
Find
data.find(isTiti)
Some
data.some(isTiti)
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:
5 months ago
)
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Browser/OS:
Chrome 142 on Mac OS X 10.15.7
View result in a separate tab
Embed
Embed Benchmark Result
Test name
Executions per second
Find
120593.2 Ops/sec
Some
111436.7 Ops/sec
Related benchmarks:
Find vs Some vs Everya aaaaa
Some vs Find II
Some vs Find vs For
test find vs some
find vs some longer
Some vs Find atata
Some vs Find v1
Some vs Find early find
Some vs Find2
Comments
Confirm delete:
Do you really want to delete benchmark?