Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Linux
Desktop
one year ago
Test name Executions per second
string.replace 1679648.0 Ops/sec
regexp.matchAll 771541.5 Ops/sec
regexp.exec 1204253.8 Ops/sec
Tests:
  • string.replace

  • regexp.matchAll

  • regexp.exec