Run details:
Mozilla/5.0 (Linux; Android 10; YAL-L41) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Mobile Safari/537.36
Chrome Mobile 109
Android
Mobile
one year ago
Test name Executions per second
text.includes() 7944482.0 Ops/sec
text.test() 4253514.0 Ops/sec
text.match() 3704642.5 Ops/sec
text.indexOf() 8025589.0 Ops/sec
text.search() 1950732.4 Ops/sec
Script Preparation code:
Tests:
  • text.includes()

  • text.test()

  • text.match()

  • text.indexOf()

  • text.search()


;