Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Chrome 111
Linux
Desktop
one year ago
Test name Executions per second
short string - splitStr 6969790.5 Ops/sec
short string - splitStrByExp 1404670.6 Ops/sec
log string - splitStr 5232488.5 Ops/sec
log string - splitStrByExp 88568.9 Ops/sec
Script Preparation code:
Tests:
  • short string - splitStr

  • short string - splitStrByExp

  • log string - splitStr

  • log string - splitStrByExp