Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_0_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/87.0.4280.141 Safari/537.36 OPR/73.0.3856.344
Opera 73
Mac OS X 11.0.0
Desktop
3 years ago
Test name Executions per second
String.split 1671497.2 Ops/sec
Regex.match 539053.0 Ops/sec
Script Preparation code:
Tests:
  • String.split

  • Regex.match