Run details:
Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Windows 8.1
Desktop
one year ago
Test name Executions per second
replaceWith 3820.8 Ops/sec
innerHTML 4129.3 Ops/sec
HTML Preparation code:
Tests:
  • replaceWith

  • innerHTML