Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Ubuntu
Desktop
4 years ago
Test name Executions per second
Lodash replace 7549700.5 Ops/sec
JS Replace 9231182.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • Lodash replace

  • JS Replace