Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.160 Safari/537.36
Chrome 119
Windows
Desktop
one year ago
Test name Executions per second
Regex 2517971.5 Ops/sec
endsWith 33781548.0 Ops/sec
Tests:
  • Regex

  • endsWith