Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:47.0) Gecko/20100101 Firefox/47.0
Firefox 47
Windows
Desktop
3 years ago
Test name Executions per second
slice 6590450.5 Ops/sec
substr 99986040.0 Ops/sec
substring 6571294.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring