Run details:
Mozilla/5.0 (Linux; Android 10; MI MAX 3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.75 Mobile Safari/537.36
Chrome Mobile 86
Android
Mobile
4 years ago
Test name Executions per second
innerHTML += (remove) 142.9 Ops/sec
innerHTML += (display none) 66.8 Ops/sec
appendChild 256003.3 Ops/sec
insertAdjacentElement 272171.0 Ops/sec
insertAdjacentHTML (remove) 31247.4 Ops/sec
insertAdjacentHTML ( display none ) 26362.9 Ops/sec
HTML Preparation code:
Script Preparation code:
Tests:
  • innerHTML += (remove)

  • innerHTML += (display none)

  • appendChild

  • insertAdjacentElement

  • insertAdjacentHTML (remove)

  • insertAdjacentHTML ( display none )


;