Run details:
Mozilla/5.0 (Linux; Android 10; SM-G981N) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.127 Mobile Safari/537.36
Chrome Mobile 85
Android
Mobile
4 years ago
Test name Executions per second
innerHTML += (remove) 114.7 Ops/sec
innerHTML += (display none) 57.5 Ops/sec
appendChild 589552.9 Ops/sec
insertAdjacentElement 539823.4 Ops/sec
insertAdjacentHTML (remove) 76658.2 Ops/sec
insertAdjacentHTML ( display none ) 64065.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • innerHTML += (remove)

  • innerHTML += (display none)

  • appendChild

  • insertAdjacentElement

  • insertAdjacentHTML (remove)

  • insertAdjacentHTML ( display none )


;