Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4464.0 Safari/537.36 Edg/91.0.852.0
Chrome 91
Linux
Desktop
3 years ago
Test name Executions per second
slice 4169402.5 Ops/sec
substr 4504494.0 Ops/sec
substring 4368357.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring