Run details:
Mozilla/5.0 (Linux; Android 10; RMX1911) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Mobile Safari/537.36
Chrome Mobile 94
Android
Mobile
2 years ago
Test name Executions per second
Regex 10570894.0 Ops/sec
endsWith 11789214.0 Ops/sec
regex neg 13453656.0 Ops/sec
endsWith neg 13529772.0 Ops/sec
Tests:
  • Regex

  • endsWith

  • regex neg

  • endsWith neg