Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:74.0) Gecko/20100101 Firefox/74.0
Firefox 74
Ubuntu
Desktop
4 years ago
Test name Executions per second
slice 43515120.0 Ops/sec
substr 229611680.0 Ops/sec
substring 40141736.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring