Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 YaBrowser/19.6.2.594 (beta) Yowser/2.5 Safari/537.36
Yandex Browser 19
Linux
Desktop
5 years ago
Test name Executions per second
slice 9132697.0 Ops/sec
substr 9484302.0 Ops/sec
substring 9399072.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring