HTML Preparation code:
AخA
 
1
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.17.5/lodash.core.js"></script>
Tests:
  • array find

     
    var a = ["ce", "b", "pl", "yqd", "tk", "ife", "wpjo", "ha", "ftic", "cjo", "vxi", "nvrx", "b", "vi", "vpwh", "t", "sfvz", "cndp", "l", "xy", "pkf", "ldwm", "ay", "zly", "xrp", "bora", "wj", "wgq", "ri", "zj", "yeic", "jlin", "qi", "xyi", "find", "some", "wgbr", "w", "xcznm", "rygz", "asgq", "qpw", "awc", "v", "qv", "sr", "lw", "hfr", "ylsl", "iug", "tcbv", "q", "yl", "yu", "w", "mij", "f", "ti", "qpc", "ter", "wjn", "vrjr", "lg", "pwl", "to", "ew", "app", "h", "mhwpb", "dv", "fh", "bvyzx", "me", "ky", "pm", "y", "aok", "a", "bb", "v", "zey", "bloe", "sau", "rqb", "i", "qki", "mzle", "ov", "t", "omdwh", "y", "j", "tffm", "zjp", "w", "xqz", "wg", "gea", "z", "fqd"];
    var b = a.find(item => item === 'find');
  • array some

     
    var a = ["ce", "b", "pl", "yqd", "tk", "ife", "wpjo", "ha", "ftic", "cjo", "vxi", "nvrx", "b", "vi", "vpwh", "t", "sfvz", "cndp", "l", "xy", "pkf", "ldwm", "ay", "zly", "xrp", "bora", "wj", "wgq", "ri", "zj", "yeic", "jlin", "qi", "xyi", "find", "some", "wgbr", "w", "xcznm", "rygz", "asgq", "qpw", "awc", "v", "qv", "sr", "lw", "hfr", "ylsl", "iug", "tcbv", "q", "yl", "yu", "w", "mij", "f", "ti", "qpc", "ter", "wjn", "vrjr", "lg", "pwl", "to", "ew", "app", "h", "mhwpb", "dv", "fh", "bvyzx", "me", "ky", "pm", "y", "aok", "a", "bb", "v", "zey", "bloe", "sau", "rqb", "i", "qki", "mzle", "ov", "t", "omdwh", "y", "j", "tffm", "zjp", "w", "xqz", "wg", "gea", "z", "fqd"];
    var b = a.some(item => item === 'some');
Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results

Experimental features:

  • Test case name Result
    array find
    array some

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 2 years ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111 on Windows
View result in a separate tab
Test name Executions per second
array find 2279631.2 Ops/sec
array some 2130547.8 Ops/sec