Run details:
Mozilla/5.0 (Android 8.0.0; Mobile; rv:109.0) Gecko/109.0 Firefox/109.0
Firefox Mobile 109
Android 8.0.0
Mobile
one year ago
Test name Executions per second
text.includes() 10267434.0 Ops/sec
text.test() 6890845.5 Ops/sec
text.match() 3058848.8 Ops/sec
text.indexOf() 554650304.0 Ops/sec
text.search() 6786308.5 Ops/sec
Script Preparation code:
Tests:
  • text.includes()

  • text.test()

  • text.match()

  • text.indexOf()

  • text.search()


;