Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/122.0.0.0 Safari/537.36 OPR/108.0.0.0
Opera 108
Windows
Desktop
9 months ago
Test name Executions per second
split + join 6990852.5 Ops/sec
replace 6350194.5 Ops/sec
replaceAll 5560271.5 Ops/sec
Script Preparation code:
Tests:
  • split + join

  • replace

  • replaceAll