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
replaceAll() regex 9595.3 Ops/sec
replaceAll() string 9498.8 Ops/sec
split() and join() 28298.7 Ops/sec
Script Preparation code:
Tests:
  • replaceAll() regex

  • replaceAll() string

  • split() and join()