Run details:
Mozilla/5.0 (Linux; Android 9; Redmi Note 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.82 Mobile Safari/537.36
Chrome Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
Regex inplace replace 15453.6 Ops/sec
for loop 16333.9 Ops/sec
Script Preparation code:
Tests:
  • Regex inplace replace

  • for loop


;