Run details:
Mozilla/5.0 (Linux; Android 12; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.104 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
2 years ago
Test name Executions per second
Using multiple calls to host objects (DOM) 3722.6 Ops/sec
Using batching - grouping multiple DOM manipulations together 3831.8 Ops/sec
Using multiple calls to host objects (DOM) v2 3360.6 Ops/sec
HTML Preparation code:
Tests:
  • Using multiple calls to host objects (DOM)

  • Using batching - grouping multiple DOM manipulations together

  • Using multiple calls to host objects (DOM) v2