Run details:
AppleWebKit/607.1.3.3 (linux armv7;U;deu) DT_STB_BCM7268UP/Z2022.1.105.0 (DT,MRG5,Wired) ISP_STB_WPE/1.0.0
AppleMail 607
Other
Desktop
2 years ago
Test name Executions per second
Using indexOf() 1419926.8 Ops/sec
Using startsWith() 1447674.1 Ops/sec
Tests:
  • Using indexOf()

  • Using startsWith()