Run details:
Mozilla/5.0 (iPhone; CPU iPhone OS 15_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/96.0.4664.53 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 96
iOS 15.1
Mobile
3 years ago
Test name Executions per second
slice 11365649.0 Ops/sec
substring 10471121.0 Ops/sec
substr 10521714.0 Ops/sec
split 5799286.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substring

  • substr

  • split