Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.135 Safari/537.36
Chrome 84
Windows
Desktop
4 years ago
Test name Executions per second
innerHTML 1556536.9 Ops/sec
removeChild 2062574.1 Ops/sec
removeChild backwards 2042282.9 Ops/sec
innerText 1353399.2 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • innerHTML

  • removeChild

  • removeChild backwards

  • innerText


;