Run details:
Mozilla/5.0 (Linux; Android 10; MI 9) 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
replaceWith 10.4 Ops/sec
replaceChild 6.3 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • replaceWith

  • replaceChild