Tests:
  • 1 String().search("interest:") < 0

  • 1 String().split("interest:") !== 2

  • 2 String().search("interest:") < 0

  • 2 String().split("interest:") !== 2

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    1 String().search("interest:") < 0
    1 String().split("interest:") !== 2
    2 String().search("interest:") < 0
    2 String().split("interest:") !== 2

    Fastest: N/A

    Slowest: N/A

Latest run results:
Run details: (Test run date: 8 months ago)
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36 OPR/107.0.0.0
Opera 107 on Windows
View result in a separate tab
Test name Executions per second
1 String().search("interest:") < 0 6307323.0 Ops/sec
1 String().split("interest:") !== 2 33694788.0 Ops/sec
2 String().search("interest:") < 0 6919200.0 Ops/sec
2 String().split("interest:") !== 2 33792828.0 Ops/sec


;