Run details:
Mozilla/5.0 (Windows NT 5.1; rv:52.0) Gecko/20100101 Firefox/52.0
Firefox 52
Windows XP
Desktop
one year ago
Test name Executions per second
slice 11821245.0 Ops/sec
substr 148380864.0 Ops/sec
substring 10837713.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring