Run details:
Mozilla/5.0 (Linux; Android 11; moto g(20)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.5195.136 Mobile Safari/537.36 OPR/72.0.3753.67681
Opera Mobile 72
Android
Mobile
2 years ago
Test name Executions per second
innerHTML 96.9 Ops/sec
insertAdjacentHTML 18252.0 Ops/sec
appendChild 44768.8 Ops/sec
insertAdjacentElement 44378.0 Ops/sec
Script Preparation code:
Tests:
  • innerHTML

  • insertAdjacentHTML

  • appendChild

  • insertAdjacentElement