Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
Run results for:
array find vs. some
Compare the new ES6 spread operator with the traditional concat() method
Go to the benchmark
Embed
Embed Benchmark Result
Run details:
User agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:128.0) Gecko/20100101 Firefox/128.0
Browser:
Firefox 128
Operating system:
Mac OS X 10.15
Device Platform:
Desktop
Date tested:
one year ago
Test name
Executions per second
array find
45752388.0 Ops/sec
array some
42949772.0 Ops/sec
Tests:
array find
var a = ['hello', 'a', 'bc']; var b = !!a.find(item => item === 'bc');
array some
var a = ['hello', 'a', 'bc']; var b = a.some(item => item === 'bc');