Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36
Chrome 117
Linux
Desktop
8 months ago
Test name Executions per second
slice 4398108.0 Ops/sec
substr 4953477.5 Ops/sec
substring 4722515.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring