Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Chrome 123
Windows
Desktop
5 months ago
Test name Executions per second
innerHTML 3369919.0 Ops/sec
removeChild 4370409.5 Ops/sec
remove 4431700.0 Ops/sec
innerText 2643947.5 Ops/sec
textContent 3199655.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • innerHTML

  • removeChild

  • remove

  • innerText

  • textContent