Run details:
Mozilla/5.0 (Linux; Android 12; 22041211AC Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/3171 MMWEBSDK/20211202 Mobile Safari/537.36 MMWEBID/3406 MicroMessenger/8.0.18.2062(0x28001241) Process/toolsmp WeChat/arm64 Weixin GPVersion/1 NetType/5G Language/en ABI/arm64
Chrome 86
Android
Mobile
2 years ago
Test name Executions per second
String.split 2107311.0 Ops/sec
Regex.match 851231.9 Ops/sec
Script Preparation code:
Tests:
  • String.split

  • Regex.match