Run details:
Mozilla/5.0 (Linux; Android 11; 220233L2I Build/RP1A.200720.011) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.98 Mobile Safari/537.36
Chrome Mobile 97
Android
Mobile
one year ago
Test name Executions per second
String.split 449157.8 Ops/sec
Regex.match 137949.6 Ops/sec
Script Preparation code:
Tests:
  • String.split

  • Regex.match