Run details:
Mozilla/5.0 (Windows NT 10.0; Win64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.5648.209 Safari/537.36 Edg/112.0.1705.57
Chrome 113
Windows
Desktop
one year ago
Test name Executions per second
slice 17264654.0 Ops/sec
substring 16471168.0 Ops/sec
substr 15531655.0 Ops/sec
split 5498633.5 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substring

  • substr

  • split