Run details:
Mozilla/5.0 (X11; CrOS x86_64 14541.0.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Chrome 110
Chrome OS 14541.0.0
Desktop
one year ago
Test name Executions per second
RegEx.test 1482482.5 Ops/sec
String.includes 3514894.8 Ops/sec
String.match 935662.6 Ops/sec
String Equality 3516480.2 Ops/sec
String.indexOf 3522427.8 Ops/sec
Regex.test no ^ and & 1494768.2 Ops/sec
Regex.test base 1505266.9 Ops/sec
Script Preparation code:
Tests:
  • RegEx.test

  • String.includes

  • String.match

  • String Equality

  • String.indexOf

  • Regex.test no ^ and &

  • Regex.test base


;