Run details:
Mozilla/5.0 (iPad; CPU OS 16_5 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/115.0.5790.130 Mobile/15E148 Safari/604.1
Chrome Mobile iOS 115
iOS 16.5
Tablet
one year ago
Test name Executions per second
slice 11297880.0 Ops/sec
substr 10141509.0 Ops/sec
substring 11089282.0 Ops/sec
Script Preparation code:
Tests:
  • slice

  • substr

  • substring