Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36
Chrome 121
Mac OS X 10.15.7
Desktop
10 months ago
Test name Executions per second
innerHTML 110867.6 Ops/sec
insertAdjacentHTML 115200.4 Ops/sec
appendChild 62119.2 Ops/sec
append 52949.7 Ops/sec
insertAdjacentElement 62041.3 Ops/sec
Script Preparation code:
Tests:
  • innerHTML

  • insertAdjacentHTML

  • appendChild

  • append

  • insertAdjacentElement