Run details:
Mozilla/5.0 (Linux; Android 10; SAMSUNG SM-A600FN) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/16.0 Chrome/92.0.4515.166 Mobile Safari/537.36
Chrome Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
String.split 262025.0 Ops/sec
Regex.match 96024.1 Ops/sec
Script Preparation code:
Tests:
  • String.split

  • Regex.match