Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.181 Safari/537.36
Chrome 65
Mac OS X 10.9.5
Desktop
5 years ago
Test name Executions per second
slice 6785694.5 Ops/sec
substr 6826636.0 Ops/sec
substring 6937731.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring