Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:83.0) Gecko/20100101 Firefox/83.0
Firefox 83
Linux
Desktop
3 years ago
Test name Executions per second
innerHTML 1168278.4 Ops/sec
removeChild (checking and removing firstChild) 1444613.8 Ops/sec
removeChild (calling hasChildNodes and removing lastChild) 1402171.8 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • innerHTML

  • removeChild (checking and removing firstChild)

  • removeChild (calling hasChildNodes and removing lastChild)


;