Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Mac OS X 10.15
Desktop
one month ago
Test name Executions per second
split + join 8735508.0 Ops/sec
replace 8512782.0 Ops/sec
replaceAll 14633224.0 Ops/sec
Script Preparation code:
Tests:
  • split + join

  • replace

  • replaceAll