HTML Preparation code:
Script Preparation code:
Tests:
  • array find

  • _.find

  • regex

  • regex (i)

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    array find
    _.find
    regex
    regex (i)

    Fastest: N/A

    Slowest: N/A

Get performance results from real users on your website with Request Metrics.
Latest run results:
Run details: (Test run date: one year ago)
Mozilla/5.0 (iPhone; CPU iPhone OS 16_5_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.5.2 Mobile/15E148 Safari/604.1
Mobile Safari 16 on iOS 16.5.1
View result in a separate tab
Test name Executions per second
array find 7071586.0 Ops/sec
_.find 0.0 Ops/sec
regex 12618060.0 Ops/sec
regex (i) 12069680.0 Ops/sec