Run details:
Mozilla/5.0 (Linux; Android 9; SM-G960U1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.143 Mobile Safari/537.36
Chrome Mobile 75
Android
Mobile
5 years ago
Test name Executions per second
Regex 62558.8 Ops/sec
Split and Join 122652.4 Ops/sec
Script Preparation code:
Tests:
  • Regex

  • Split and Join