Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/147.0.0.0 Safari/537.36
Chrome 147
Windows
Desktop
yesterday
Test name Executions per second
regex 2127967.0 Ops/sec
includes 4041838.2 Ops/sec
new regex 2125215.8 Ops/sec
string match regex 2073546.6 Ops/sec
string match new regex 2048224.5 Ops/sec
Script Preparation code:
Tests:
  • regex

  • includes

  • new regex

  • string match regex

  • string match new regex