Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36 Maxthon/5.3.8.2000
Maxthon 5
Windows
Desktop
4 years ago
Test name Executions per second
slice 13184525.0 Ops/sec
substr 13249622.0 Ops/sec
substring 13161896.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring