Run details:
Mozilla/5.0 (Linux; Android 11; Redmi Note 8 Pro) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.90 Mobile Safari/537.36
Chrome Mobile 89
Android
Mobile
2 years ago
Test name Executions per second
Using multiple calls to host objects (DOM) 2870.1 Ops/sec
Using batching - grouping multiple DOM manipulations together 3117.2 Ops/sec
Using multiple calls to host objects (DOM) v2 2952.4 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