Run details:
Mozilla/5.0 (Linux; Android 12; SM-A528B) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Mobile Safari/537.36
Chrome Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
replaceWith 9.6 Ops/sec
replaceChild 6.0 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • replaceWith

  • replaceChild